summaryrefslogtreecommitdiff
path: root/plugins/omemo_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/omemo_plugin.py')
-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']