Philipp Hörist pushed to branch master at gajim / gajim
Commits:
0c84072e by Philipp Hörist at 2019-09-28T23:33:52Z
Bookmarks: Register event handler correctly
- - - - -
1 changed file:
- gajim/common/modules/bookmarks.py
Changes:
=====================================
gajim/common/modules/bookmarks.py
=====================================
@@ -43,6 +43,7 @@ class Bookmarks(BaseModule):
def __init__(self, con):
BaseModule.__init__(self, con)
self._register_pubsub_handler(self._bookmark_event_received)
+ self._register_pubsub_handler(self._bookmark_2_event_received)
self._conversion = False
self._conversion_2 = False
self._bookmarks = []
@@ -108,7 +109,7 @@ class Bookmarks(BaseModule):
NetworkEvent('bookmarks-received', account=self._account))
@event_node(nbxmpp.NS_BOOKMARKS_2)
- def _bookmark_event_received(self, _con, stanza, properties):
+ def _bookmark_2_event_received(self, _con, stanza, properties):
if not properties.is_self_message:
self._log.warning('%s has an open access bookmarks node',
properties.jid)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/0c84072ea78a2f0bd6d432cebe152fce6d946ecd
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/0c84072ea78a2f0bd6d432cebe152fce6d946ecd
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits