send empty tune when we disconnect an account. Fixes #4512

This commit is contained in:
Yann Leboulanger 2008-11-26 22:44:17 +00:00
parent afd8e1819d
commit fbd1127930
1 changed files with 1 additions and 0 deletions

View File

@ -549,6 +549,7 @@ def delete_pep(jid, name):
acc = gajim.connections[name]
del acc.activity
acc.activity = {}
user_send_tune(name)
del acc.tune
acc.tune = {}
del acc.mood