Again, not update_ui(), but update_otr()!
This commit is contained in:
parent
50e31a5072
commit
5f7f717e29
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ class ContactOtrSMPWindow:
|
||||||
self.gw('desc_label').set_markup(text)
|
self.gw('desc_label').set_markup(text)
|
||||||
for ctrl in gajim.interface.msg_win_mgr.get_chat_controls(
|
for ctrl in gajim.interface.msg_win_mgr.get_chat_controls(
|
||||||
self.contact.jid, self.account):
|
self.contact.jid, self.account):
|
||||||
ctrl.update_ui()
|
ctrl.update_otr()
|
||||||
gajim.otr_ui_ops.write_fingerprints({'account': self.account})
|
gajim.otr_ui_ops.write_fingerprints({'account': self.account})
|
||||||
|
|
||||||
def handle_tlv(self, tlvs):
|
def handle_tlv(self, tlvs):
|
||||||
|
@ -310,7 +310,7 @@ class ContactOtrWindow:
|
||||||
self.ctrl = gajim.interface.msg_win_mgr.get_control(
|
self.ctrl = gajim.interface.msg_win_mgr.get_control(
|
||||||
self.contact.jid, self.account)
|
self.contact.jid, self.account)
|
||||||
if self.ctrl:
|
if self.ctrl:
|
||||||
self.ctrl.update_ui()
|
self.ctrl.update_otr()
|
||||||
|
|
||||||
if self.gw('otr_default_checkbutton').get_active():
|
if self.gw('otr_default_checkbutton').get_active():
|
||||||
# default is enabled, so remove any user-specific
|
# default is enabled, so remove any user-specific
|
||||||
|
|
Loading…
Add table
Reference in a new issue