Changeset 9618
- Timestamp:
- 05/11/08 15:41:23 (7 months ago)
- Files:
-
- 1 modified
-
trunk/src/gajim.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gajim.py
r9617 r9618 408 408 self.gajim_log("%s secured OTR connection started"%trust, 409 409 opdata['account'], context.username, no_print=True) 410 411 ctrl = gajim.interface.msg_win_mgr.get_control( 412 unicode(context.username), opdata['account']) 410 411 ctrl = self.get_control(context.username, opdata['account']) 413 412 if ctrl: 414 413 ctrl.update_otr(True) … … 417 416 self.gajim_log("Private conversation with %s lost.", opdata['account'], context.username) 418 417 419 ctrl = gajim.interface.msg_win_mgr.get_control( 420 gajim.get_jid_without_resource(unicode(context.username)), 421 opdata['account']) 418 ctrl = self.get_control(context.username, opdata['account']) 422 419 if ctrl: 423 ctrl.update_otr( )420 ctrl.update_otr(True) 424 421 425 422 def still_secure(self, opdata=None, context=None, is_reply=0): 426 ctrl = gajim.interface.msg_win_mgr.get_control( 427 gajim.get_jid_without_resource(unicode(context.username)), 428 opdata['account']) 423 ctrl = self.get_control(context.username, opdata['account']) 429 424 if ctrl: 430 425 ctrl.update_otr(True)
