Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
-
ed895375
by Philipp Hörist at 2019-12-11T20:14:53Z
1 changed file:
Changes:
| ... | ... | @@ -209,6 +209,8 @@ class OMEMO: |
| 209 | 209 |
pubsub_node = stanza.getTag('pubsub')
|
| 210 | 210 |
items_node = pubsub_node.getTag('items')
|
| 211 | 211 |
item = items_node.getTag('item')
|
| 212 |
+ if item is None:
|
|
| 213 |
+ return None
|
|
| 212 | 214 |
|
| 213 | 215 |
try:
|
| 214 | 216 |
return self._parse_devicelist(item)
|