Commit 73944b1c authored by Philipp Hörist's avatar Philipp Hörist

RosterItem: Copy attributes

parent e3839b91
Pipeline #7479 passed with stages
in 5 minutes and 12 seconds
......@@ -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')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment