Changeset 9981 for trunk/src/gajim.py
- Timestamp:
- 07/22/08 16:32:37 (4 months ago)
- Files:
-
- 1 modified
-
trunk/src/gajim.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gajim.py
r9980 r9981 774 774 gajim.connections[account]. \ 775 775 remove_transfers_for_contact(contact1) 776 777 # disable encryption, since if any messages are 778 # lost they'll be not decryptable (note that 779 # this contradicts XEP-0201 - trying to get the 780 # in the XEP, though) 781 if gajim.connections[account].sessions. \ 782 has_key(ji): 783 for sess in gajim.connections \ 784 [account]. sessions[ji].values(): 785 if sess.enable_encryption: 786 sess.terminate_e2e() 787 gajim.connections \ 788 [account]. \ 789 delete_session(jid, 790 sess.thread_id) 791 776 792 self.roster.chg_contact_status(contact1, array[1], 777 793 status_message, account) … … 787 803 elif old_show > 1 and new_show < 2: 788 804 notify.notify('contact_disconnected', jid, 789 ccount, status_message)805 account, status_message) 790 806 if self.remote_ctrl: 791 807 self.remote_ctrl.raise_signal(
