Commit 1eb1b504 authored by Philipp Hörist's avatar Philipp Hörist

Receipts: Use a copy of JID for building the receipt

parent ff68a5df
Pipeline #4437 passed with stages
in 28 seconds
......@@ -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:
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