Fix E2E decryption. Fixes #6984
This commit is contained in:
parent
2e648d06be
commit
f460991539
|
@ -493,7 +493,10 @@ class EncryptedStanzaSession(ArchivingStanzaSession):
|
||||||
stanza.addChild(node=child)
|
stanza.addChild(node=child)
|
||||||
|
|
||||||
# replace non-character unicode
|
# replace non-character unicode
|
||||||
stranza = self.conn.connection.Dispatcher.replace_non_character(stanza)
|
body = stanza.getBody()
|
||||||
|
if body:
|
||||||
|
stanza.setBody(
|
||||||
|
self.conn.connection.Dispatcher.replace_non_character(body))
|
||||||
|
|
||||||
return stanza
|
return stanza
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue