Commit dd6efb14 authored by Maxime Buquet's avatar Maxime Buquet

e2ee-api: change log line in _encrypt

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent a2721b20
Pipeline #2151 passed with stages
in 3 minutes and 48 seconds
......@@ -175,7 +175,7 @@ class E2EEPlugin(BasePlugin):
if not self._encryption_enabled(jid):
return message
log.debug('Sending %s message: %r', self.encryption_name, message['body'])
log.debug('Sending %s message: %r', self.encryption_name, message)
has_body = message.xml.find('{%s}%s' % (JCLIENT_NS, 'body')) is not None
......@@ -213,7 +213,7 @@ class E2EEPlugin(BasePlugin):
if elem.tag not in self.tag_whitelist:
message.xml.remove(elem)
log.debug('Encrypted %s message: %r', self.encryption_name, message['body'])
log.debug('Encrypted %s message: %r', self.encryption_name, message)
return message
def decrypt(self, _message: Message, tab: ChatTabs):
......
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