revoke tune when disconnecting only for current account. fixes #4267

This commit is contained in:
Yann Leboulanger 2008-08-31 13:40:53 +00:00
parent 3f61182c7a
commit 1607000c5c
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class Connection(ConnectionHandlers):
# We are doing disconnect at so many places, better use one function in all
def disconnect(self, on_purpose=False):
gajim.interface.roster.music_track_changed(None, None)
gajim.interface.roster.music_track_changed(None, None, self.name)
self.on_purpose = on_purpose
self.connected = 0
self.time_to_reconnect = None