Philipp Hörist pushed to branch master at gajim / python-nbxmpp

Commits:
135a5d84 by Philipp Hörist at 2019-02-05T22:19:14Z
Fix error when parsing bookmarks

- - - - -


1 changed file:

- nbxmpp/modules/bookmarks.py


Changes:

=====================================
nbxmpp/modules/bookmarks.py
=====================================
@@ -126,9 +126,9 @@ class Bookmarks:
             log.info('Error: %s', stanza.getError())
             return []
 
+        bookmarks = []
         if type_ == BookmarkStoreType.PUBSUB:
             item = get_pubsub_item(stanza)
-            bookmarks = []
             storage_node = item.getTag('storage', namespace=NS_BOOKMARKS)
 
         if type_ == BookmarkStoreType.PRIVATE:



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/commit/135a5d84ccfcb6d4664259599c9c42080f277466

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/commit/135a5d84ccfcb6d4664259599c9c42080f277466
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

Reply via email to