summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2022-03-23 21:46:17 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2022-03-23 21:46:17 +0100
commit2a9c67501aea82f6dedfdafe26f5c06e8de73447 (patch)
treeb4ddb2448cab2be14f25967d0368613dfc1520db /plugins
parent3f70986d57822e6b5d4df9e86821789a0f5d78da (diff)
downloadpoezio-2a9c67501aea82f6dedfdafe26f5c06e8de73447.tar.gz
poezio-2a9c67501aea82f6dedfdafe26f5c06e8de73447.tar.bz2
poezio-2a9c67501aea82f6dedfdafe26f5c06e8de73447.tar.xz
poezio-2a9c67501aea82f6dedfdafe26f5c06e8de73447.zip
plugins/upload: use correct tab attribute name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/upload.py b/plugins/upload.py
index 4ca61495..6926c075 100644
--- a/plugins/upload.py
+++ b/plugins/upload.py
@@ -88,7 +88,7 @@ class Plugin(BasePlugin):
filename, = args
filename = expanduser(filename)
tab = self.api.current_tab()
- encrypted = self.core.xmpp['xep_0454'] and tab.e2e_encrypted is not None
+ encrypted = self.core.xmpp['xep_0454'] and tab.e2e_encryption is not None
asyncio.create_task(self.send_upload(filename, tab, encrypted))
@staticmethod