Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2019-11-02 18:03:28 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-11-02 18:03:28 +0300
commit1eb1b5049546a839657e6344cb9fae200cf17cd4 (patch)
tree6b795065b61e6ef8b5645a04e625e0cc1cbdfe1e /nbxmpp/modules
parentff68a5df155fef7b3d2d4cd3ce8a6b1a7a71e09c (diff)
Receipts: Use a copy of JID for building the receipt
Diffstat (limited to 'nbxmpp/modules')
-rw-r--r--nbxmpp/modules/receipts.py2
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()