Commit 304b3a1f authored by Philipp Hörist's avatar Philipp Hörist

[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.
parent ad9ffb62
......@@ -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
......
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