fix some session issues

This commit is contained in:
Yann Leboulanger 2012-01-11 22:28:56 +01:00
parent 3a3f99d618
commit 240158caca
1 changed files with 0 additions and 2 deletions

View File

@ -52,8 +52,6 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
def detach_from_control(self):
if self.control:
self.control.set_session(None)
gajim.ged.remove_event_handler('decrypted-message-received',
ged.GUI1, self._nec_decrypted_message_received)
def acknowledge_termination(self):
self.detach_from_control()