diff src/backend.py @ 396:562e7a01218d

backend: fixed getOwnerRoster call in _prepareNotify
author Goffi <goffi@goffi.org>
date Sat, 23 Feb 2019 21:00:29 +0100
parents 9bc3fbf3e685
children a4980d03b3a3
line wrap: on
line diff
--- a/src/backend.py	Sat Feb 23 20:59:41 2019 +0100
+++ b/src/backend.py	Sat Feb 23 21:00:29 2019 +0100
@@ -1468,7 +1468,7 @@
                 elif access_model == const.VAL_AMODEL_PUBLISHER_ROSTER:
                     if owner_roster is None:
                         # FIXME: publisher roster should be used, not owner
-                        owner_roster= yield self.getOwnerRoster(node, owners)
+                        owner_roster= yield self.backend.getOwnerRoster(node, owners)
                     if owner_roster is None:
                         owner_roster = {}
                     if not subscriber_bare in owner_roster: