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
1 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,10 @@ class Bookmarks(AbstractPEPModule):
|
||||||
log.info('Ignore update, pubsub request in progress')
|
log.info('Ignore update, pubsub request in progress')
|
||||||
return
|
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:
|
if not self._pubsub_support() or not self.conversion:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue