fix tb when we receive pep info from a room. Fixes #4449

This commit is contained in:
Yann Leboulanger 2008-11-03 16:36:15 +00:00
parent 67d19a226d
commit 3f88abaf27
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ def handle_mood(account, jid, mood=None, text=None, retract=False):
gajim.interface.roster.draw_account(account)
gajim.interface.roster.draw_mood(user, account)
ctrl = gajim.interface.msg_win_mgr.get_control(user, account)
if ctrl:
if ctrl and ctrl.type_id == 'chat':
ctrl.update_mood()
def user_tune(items, name, jid):