[omemo] Adapt to link handler changes in Gajim

This commit is contained in:
Philipp Hörist
2019-04-27 13:11:02 +02:00
parent e577b42c8f
commit e7ac1ccf4c
2 changed files with 6 additions and 5 deletions

View File

@@ -211,9 +211,9 @@ class OmemoPlugin(GajimPlugin):
return
self.get_omemo(account).encrypt_message(conn, obj, callback, False)
def _file_decryption(self, url, kind, instance, window):
def _file_decryption(self, uri, instance, window):
file_crypto.FileDecryption(self).hyperlink_handler(
url, kind, instance, window)
uri, instance, window)
def encrypt_file(self, file, _account, callback):
thread = threading.Thread(target=self._encrypt_file_thread,