Mercurial > libervia-pubsub
changeset 256:ea44c0986f47
Fixed getItems for roster access items when the subscriber is not owner of the node.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 17 Apr 2013 22:28:41 +0200 |
parents | d55620ceafed |
children | 30988781f30d |
files | sat_pubsub/backend.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_pubsub/backend.py Mon Apr 08 23:08:45 2013 +0200 +++ b/sat_pubsub/backend.py Wed Apr 17 22:28:41 2013 +0200 @@ -504,7 +504,7 @@ if not authorized: raise error.NotAuthorized() - roster_item = roster.get(requestor.userhost()) + roster_item = roster.get(requestor.userhostJID()) authorized_groups = tuple(roster_item.groups) if roster_item else tuple() if itemIdentifiers: