update banner only if it's a presence from higher ptiority resource
This commit is contained in:
parent
ef21462543
commit
92bbc215cc
1 changed files with 4 additions and 2 deletions
|
@ -612,8 +612,10 @@ class RosterWindow:
|
||||||
self.plugin.windows[account]['chats'][jid].print_conversation(
|
self.plugin.windows[account]['chats'][jid].print_conversation(
|
||||||
_('%s is now %s (%s)') % (name, uf_show, status), jid, 'status')
|
_('%s is now %s (%s)') % (name, uf_show, status), jid, 'status')
|
||||||
|
|
||||||
self.plugin.windows[account]['chats'][jid].draw_name_banner(
|
if contact == gajim.get_contact_instance_with_highest_priority(\
|
||||||
contact, chatstate = None)
|
account, contact.jid):
|
||||||
|
self.plugin.windows[account]['chats'][jid].draw_name_banner(
|
||||||
|
contact, chatstate = None)
|
||||||
|
|
||||||
def on_info(self, widget, user, account):
|
def on_info(self, widget, user, account):
|
||||||
'''Call vcard_information_window class to display user's information'''
|
'''Call vcard_information_window class to display user's information'''
|
||||||
|
|
Loading…
Add table
Reference in a new issue