From 0e8b84fb9658b444bf634e45b018bc0a69bf3bfb Mon Sep 17 00:00:00 2001 From: danielvincent <danielgrippi@gmail.com> Date: Tue, 5 Oct 2010 17:26:26 -0700 Subject: [PATCH] publish instead of get --- 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 a8fd09fee2..214d7f50a3 100644 --- a/lib/message_handler.rb +++ b/lib/message_handler.rb @@ -34,7 +34,7 @@ class MessageHandler http = EventMachine::HttpRequest.new(query.destination).get :timeout => TIMEOUT http.callback {process} when :hub_publish - http = EventMachine::PubSubHubbub.new(query.destination).get :timeout => TIMEOUT + http = EventMachine::PubSubHubbub.new(query.destination).publish :timeout => TIMEOUT http.callback {process} else raise "message is not a type I know!" -- GitLab