changeset b5d281793365 in /home/hg/repos/gajim-plugins

author: lovetox <[email protected]>
branches: 
details:gajim-plugins?cmd=changeset;node=b5d281793365
description: Fix small Ui Bug

diffstat:

 omemo/ui.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 97e5de83e2d4 -r b5d281793365 omemo/ui.py
--- a/omemo/ui.py       Sat Jul 23 21:21:00 2016 +0200
+++ b/omemo/ui.py       Sat Jul 23 18:53:46 2016 +0200
@@ -157,7 +157,8 @@
         return self.state.encryption.is_active(self.contact.jid)
 
     def activate_omemo(self):
-        self.omemobutton.set_omemo_state(True)
+        if not self.encryption_active():
+            self.set_omemo_state(True)
 
     def show_fingerprint_window(self):
         dlg = FingerprintWindow(self.plugin, self.contact,
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to