diff sat_pubsub/backend.py @ 333:0fcd0ea89c84

fixed getOwners call in _prepareNotify
author Goffi <goffi@goffi.org>
date Sat, 03 Jun 2017 15:31:07 +0200
parents e93a9fd329d9
children a468c187bbb5
line wrap: on
line diff
--- a/sat_pubsub/backend.py	Mon Apr 03 00:24:34 2017 +0200
+++ b/sat_pubsub/backend.py	Sat Jun 03 15:31:07 2017 +0200
@@ -1128,7 +1128,7 @@
         else:
             notifications = [(subscription.subscriber, [subscription], items_data)]
 
-        owners = node.getOwners()
+        owners = yield node.getOwners()
         owner_roster = None
 
         # now we check access of subscriber for each item, and keep only allowed ones