From fbd1127930eaa3f6e251e093acc02d0c43e0fd20 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Wed, 26 Nov 2008 22:44:17 +0000
Subject: [PATCH] send empty tune when we disconnect an account. Fixes #4512

---
 src/common/pep.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/pep.py b/src/common/pep.py
index 7fdba4feea..052aaf6127 100644
--- a/src/common/pep.py
+++ b/src/common/pep.py
@@ -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
-- 
GitLab