Mercurial > libervia-pubsub
changeset 253:06494c9b25f2
update to fix broken RemoteRoster after Wokkel 0.7.1 changes
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 25 Feb 2013 23:31:38 +0100 |
parents | 25a1dc7181cc |
children | d29e2360b05c |
files | sat_pubsub/remote_roster.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_pubsub/remote_roster.py Thu Nov 01 19:28:43 2012 +0100 +++ b/sat_pubsub/remote_roster.py Mon Feb 25 23:31:38 2013 +0100 @@ -82,8 +82,8 @@ roster = {} for element in domish.generateElementsQNamed(result.query.children, 'item', NS_ROSTER): - item = self._parseRosterItem(element) - roster[item.jid.userhost()] = item + item = xmppim.RosterItem.fromElement(element) + roster[item.entity] = item return roster