summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-07-01 18:10:29 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-07-01 19:42:45 +0200
commitdd6efb144467a6f8463f194394cb1e725e4535b1 (patch)
treec96035dde2cea5bb87cb4ad972b6c3d42f3f06aa
parenta2721b207b4fdb5dd958ebbdc33d5b1be5416b89 (diff)
downloadpoezio-dd6efb144467a6f8463f194394cb1e725e4535b1.tar.gz
poezio-dd6efb144467a6f8463f194394cb1e725e4535b1.tar.bz2
poezio-dd6efb144467a6f8463f194394cb1e725e4535b1.tar.xz
poezio-dd6efb144467a6f8463f194394cb1e725e4535b1.zip
e2ee-api: change log line in _encrypt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/plugin_e2ee.py4
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):