Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-12-17 00:56:47 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-12-17 00:56:47 +0300
commit304b3a1fe6003fbee66052806dc036a0f6818c61 (patch)
tree8b50acd01e43d107e3a8a11e6f901a04154124b5
parentad9ffb62b80a2843c478bf0c3831e569bb6fb20b (diff)
[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.
-rw-r--r--omemo/omemoplugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/omemo/omemoplugin.py b/omemo/omemoplugin.py
index e61182f..556fd00 100644
--- a/omemo/omemoplugin.py
+++ b/omemo/omemoplugin.py
@@ -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