From 1eb1b5049546a839657e6344cb9fae200cf17cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 2 Nov 2019 16:03:28 +0100 Subject: Receipts: Use a copy of JID for building the receipt --- nbxmpp/modules/receipts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nbxmpp/modules') 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() -- cgit v1.2.3