Skip to content
Snippets Groups Projects
Commit efa432ff authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[binary] fix receiving pubsub bookmarks. Fixes #7380

parent 0535814a
No related branches found
No related tags found
No related merge requests found
......@@ -191,6 +191,8 @@ class ConnectionPubSub:
conn=self, stanza=stanza))
def _nec_pubsub_bookmarks_received(self, obj):
if obj.conn.name != self.name:
return
bm_jids = [b['jid'] for b in self.bookmarks]
for bm in obj.bookmarks:
if bm['jid'] not in bm_jids:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment