Commit 0e6011c0 authored by Philipp Hörist's avatar Philipp Hörist

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
parent 4503f466
Pipeline #2869 failed with stages
in 3 minutes and 17 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment