e2ee-api: change log line in _encrypt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
a2721b207b
commit
dd6efb1444
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue