diff options
author | Philipp Hörist <philipp@hoerist.com> | 2019-11-02 18:03:28 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2019-11-02 18:03:28 +0300 |
commit | 1eb1b5049546a839657e6344cb9fae200cf17cd4 (patch) | |
tree | 6b795065b61e6ef8b5645a04e625e0cc1cbdfe1e /nbxmpp/modules | |
parent | ff68a5df155fef7b3d2d4cd3ce8a6b1a7a71e09c (diff) |
Receipts: Use a copy of JID for building the receipt
Diffstat (limited to 'nbxmpp/modules')
-rw-r--r-- | nbxmpp/modules/receipts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/receipts.py b/nbxmpp/modules/receipts.py index 9a31ff5..329e88a 100644 --- a/nbxmpp/modules/receipts.py +++ b/nbxmpp/modules/receipts.py @@ -70,7 +70,7 @@ def build_receipt(stanza): is_muc_pm = isMucPM(stanza) - jid = stanza.getFrom() + jid = stanza.getFrom().copy() typ = stanza.getType() if typ == 'groupchat' or not is_muc_pm: jid.setBare() |