summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-08-22 23:57:12 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-12-27 18:57:33 +0100
commit83e83055540f9d6cdda1b4e4ee7fdd0057d885cc (patch)
tree4def19243a986b2ee7b9c214f755c421ceb32474
parentec846f222e1ed294cbd57ada33c61f38d782c7aa (diff)
downloadpoezio-83e83055540f9d6cdda1b4e4ee7fdd0057d885cc.tar.gz
poezio-83e83055540f9d6cdda1b4e4ee7fdd0057d885cc.tar.bz2
poezio-83e83055540f9d6cdda1b4e4ee7fdd0057d885cc.tar.xz
poezio-83e83055540f9d6cdda1b4e4ee7fdd0057d885cc.zip
omemo: use @to instead of @from for message recipients
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--plugins/omemo_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py
index e9f2e1b8..6ef104ba 100644
--- a/plugins/omemo_plugin.py
+++ b/plugins/omemo_plugin.py
@@ -108,7 +108,7 @@ class Plugin(E2EEPlugin):
message['body'] = body
async def encrypt(self, message: Message, _tab) -> None:
- mto = message['from']
+ mto = message['to']
mtype = message['type']
body = message['body']