mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
publish instead of get
This commit is contained in:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user