From 9a134555d793eb6be62d25d4cf4f5a196edaa6f5 Mon Sep 17 00:00:00 2001
From: danielvincent <danielgrippi@gmail.com>
Date: Wed, 4 Aug 2010 09:49:59 -0700
Subject: [PATCH] message handler was calling find_hub instead of hub

---
 lib/message_handler.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/message_handler.rb b/lib/message_handler.rb
index 3e76c27836..06c32e841b 100644
--- a/lib/message_handler.rb
+++ b/lib/message_handler.rb
@@ -35,7 +35,7 @@ class MessageHandler
   end
 
   def process_ostatus_subscription(query_object, http)
-      hub = Diaspora::OStatusParser::find_hub(http.response)
+      hub = Diaspora::OStatusParser::hub(http.response)
       add_hub_subscription_request(hub, query_object.destination)
       Diaspora::OStatusParser::process(http.response)
   end
-- 
GitLab