Commit b2364766 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[httpupload] Fail on missing python-cryptography

parent d7941e9e
......@@ -277,8 +277,6 @@ class Base(object):
del self.chat_control.handlers[self.keypress_id]
def encryption_activated(self):
if not encryption_available:
return False
jid =
account = self.chat_control.account
for plugin in gajim.plugin_manager.active_plugins:
......@@ -299,6 +297,13 @@ class Base(object):
self.encrypted_upload = False
if self.encrypted_upload and not encryption_available:
'Please install python-cryptography for encrypted uploads',
if not path_to_file:
path_to_file = self.dlg.get_filename()
if not path_to_file:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment