Oops, missed a delete_jingle_session last time.

This commit is contained in:
Thibaut GIRKA 2010-03-14 22:01:48 +01:00
parent 6e5d8c4ce0
commit e5f95be6e9
1 changed files with 1 additions and 1 deletions

View File

@ -1630,7 +1630,7 @@ class ChatControl(ChatControlBase):
# We need to do that before modifying the sid
if state == 'not_available':
gajim.connections[self.account].delete_jingle_session(
self.contact.get_full_jid(), getattr(self, jingle_type + '_sid'))
getattr(self, jingle_type + '_sid'))
if state in ('not_available', 'available', 'stop'):
setattr(self, jingle_type + '_sid', None)