Ignore bookmark updates from other jids
Because we use +notify to subscribe to the bookmarks node, we get notifications from contacts that have an open access bookmarks node
This commit is contained in:
parent
4503f466d6
commit
0e6011c088
|
@ -80,6 +80,10 @@ class Bookmarks(AbstractPEPModule):
|
|||
log.info('Ignore update, pubsub request in progress')
|
||||
return
|
||||
|
||||
if not self._con.get_own_jid().bareMatch(jid):
|
||||
log.warning('%s has an open access bookmarks node', jid)
|
||||
return
|
||||
|
||||
if not self._pubsub_support() or not self.conversion:
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue