diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2022-03-23 21:46:17 +0100 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2022-03-23 21:46:17 +0100 |
commit | 2a9c67501aea82f6dedfdafe26f5c06e8de73447 (patch) | |
tree | b4ddb2448cab2be14f25967d0368613dfc1520db | |
parent | 3f70986d57822e6b5d4df9e86821789a0f5d78da (diff) | |
download | poezio-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>
-rw-r--r-- | plugins/upload.py | 2 |
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 |