[openpgp] Adapt to nbxmpp changes
This commit is contained in:
@@ -135,9 +135,10 @@ class OpenPGP(BaseModule):
|
|||||||
|
|
||||||
@event_node(nbxmpp.NS_OPENPGP_PK)
|
@event_node(nbxmpp.NS_OPENPGP_PK)
|
||||||
def _keylist_notification_received(self, _con, _stanza, properties):
|
def _keylist_notification_received(self, _con, _stanza, properties):
|
||||||
keylist = []
|
if properties.pubsub_event.retracted:
|
||||||
if not properties.pubsub_event.empty:
|
return
|
||||||
keylist = properties.pubsub_event.data
|
|
||||||
|
keylist = properties.pubsub_event.data or []
|
||||||
|
|
||||||
self._process_keylist(keylist, properties.jid)
|
self._process_keylist(keylist, properties.jid)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user