From 2a9c67501aea82f6dedfdafe26f5c06e8de73447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Wed, 23 Mar 2022 21:46:17 +0100 Subject: plugins/upload: use correct tab attribute name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3