[omemo] Disable new fingerprint event

This will not work anymore with Gajim >= 1.5
This commit is contained in:
lovetox
2022-08-09 23:57:42 +02:00
parent f0f9751a84
commit 70221e9ca6

View File

@@ -438,9 +438,11 @@ class OMEMO(BaseModule):
# Trigger dialog to trust new Fingerprints if # Trigger dialog to trust new Fingerprints if
# the Chat Window is Open # the Chat Window is Open
ctrl = app.window.get_control(self._account, jid)
if ctrl: # TODO: This does not work anymore
app.ged.raise_event(OMEMONewFingerprint(chat_control=ctrl)) # ctrl = app.window.get_control(self._account, jid)
# if ctrl:
# app.ged.raise_event(OMEMONewFingerprint(chat_control=ctrl))
def set_devicelist(self, devicelist=None): def set_devicelist(self, devicelist=None):
devicelist_ = set([self.backend.own_device]) devicelist_ = set([self.backend.own_device])