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:
authorlovetox <philipp@hoerist.com>2022-08-10 00:57:42 +0300
committerlovetox <philipp@hoerist.com>2022-08-10 00:57:47 +0300
commit70221e9ca6bce87acf2368a426bcc64c102de03b (patch)
treea822ca5d38263eea39b65bd2b6347cc8abfbd57b
parentf0f9751a845f4fed325c47bc5a8e23cc6adeee67 (diff)
[omemo] Disable new fingerprint event
This will not work anymore with Gajim >= 1.5
-rw-r--r--omemo/modules/omemo.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/omemo/modules/omemo.py b/omemo/modules/omemo.py
index a15e617..6c90e58 100644
--- a/omemo/modules/omemo.py
+++ b/omemo/modules/omemo.py
@@ -438,9 +438,11 @@ class OMEMO(BaseModule):
# Trigger dialog to trust new Fingerprints if
# the Chat Window is Open
- ctrl = app.window.get_control(self._account, jid)
- if ctrl:
- app.ged.raise_event(OMEMONewFingerprint(chat_control=ctrl))
+
+ # TODO: This does not work anymore
+ # ctrl = app.window.get_control(self._account, jid)
+ # if ctrl:
+ # app.ged.raise_event(OMEMONewFingerprint(chat_control=ctrl))
def set_devicelist(self, devicelist=None):
devicelist_ = set([self.backend.own_device])