Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
-
73944b1c
by lovetox at 2021-03-13T22:06:52+01:00
1 changed file:
Changes:
| ... | ... | @@ -147,7 +147,7 @@ class RosterItem: |
| 147 | 147 |
|
| 148 | 148 |
@classmethod
|
| 149 | 149 |
def from_node(cls, node):
|
| 150 |
- attrs = node.getAttrs()
|
|
| 150 |
+ attrs = node.getAttrs(copy=True)
|
|
| 151 | 151 |
jid = attrs.get('jid')
|
| 152 | 152 |
if jid is None:
|
| 153 | 153 |
raise Exception('jid attribute missing')
|