diff options
-rw-r--r-- | poezio/plugin_e2ee.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py index c45c0c74..3f67d2f3 100644 --- a/poezio/plugin_e2ee.py +++ b/poezio/plugin_e2ee.py @@ -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): |