[omemo] Add missing argument

Even if we dont need account for omemo, its easier to supply always
the same count of arguments to all encrypt_file() plugin methods.
This commit is contained in:
Philipp Hörist
2017-12-16 22:56:47 +01:00
parent ad9ffb62b8
commit 304b3a1fe6

View File

@@ -191,7 +191,7 @@ class OmemoPlugin(GajimPlugin):
file_crypto.FileDecryption(self).hyperlink_handler(
url, kind, instance, window)
def encrypt_file(self, file, callback):
def encrypt_file(self, file, account, callback):
thread = threading.Thread(target=self._encrypt_file_thread,
args=(file, callback))
thread.daemon = True