update banner only if it's a presence from higher ptiority resource

This commit is contained in:
Yann Leboulanger 2005-09-12 11:51:18 +00:00
parent ef21462543
commit 92bbc215cc
1 changed files with 4 additions and 2 deletions

View File

@ -612,6 +612,8 @@ class RosterWindow:
self.plugin.windows[account]['chats'][jid].print_conversation(
_('%s is now %s (%s)') % (name, uf_show, status), jid, 'status')
if contact == gajim.get_contact_instance_with_highest_priority(\
account, contact.jid):
self.plugin.windows[account]['chats'][jid].draw_name_banner(
contact, chatstate = None)