Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
73944b1c by lovetox at 2021-03-13T22:06:52+01:00
RosterItem: Copy attributes
- - - - -
1 changed file:
- nbxmpp/structs.py
Changes:
=====================================
nbxmpp/structs.py
=====================================
@@ -147,7 +147,7 @@ class RosterItem:
@classmethod
def from_node(cls, node):
- attrs = node.getAttrs()
+ attrs = node.getAttrs(copy=True)
jid = attrs.get('jid')
if jid is None:
raise Exception('jid attribute missing')
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/73944b1c4392fbd06fd946c3f3450d8153ae5dea
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/73944b1c4392fbd06fd946c3f3450d8153ae5dea
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