DG MS; fixed infinate loop
This commit is contained in:
parent
39118293eb
commit
1ce01be534
1 changed files with 5 additions and 3 deletions
|
|
@ -8,9 +8,11 @@ module Diaspora
|
|||
@@queue = MessageHandler.new
|
||||
|
||||
def notify_friends
|
||||
xml = Post.build_xml_for(self)
|
||||
@@queue.add_post_request( friends_with_permissions, xml )
|
||||
@@queue.process
|
||||
if self.owner == User.first.email
|
||||
xml = Post.build_xml_for(self)
|
||||
@@queue.add_post_request( friends_with_permissions, xml )
|
||||
@@queue.process
|
||||
end
|
||||
end
|
||||
|
||||
def prep_webhook
|
||||
|
|
|
|||
Loading…
Reference in a new issue