Skip to content
Snippets Groups Projects
Commit f4609915 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

Fix E2E decryption. Fixes #6984

parent 2e648d06
No related branches found
No related tags found
No related merge requests found
......@@ -493,7 +493,10 @@ class EncryptedStanzaSession(ArchivingStanzaSession):
stanza.addChild(node=child)
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment