Do not check for nick of gc when checking if we want to show account

name, it's useless and make us TB for PM to own.
This commit is contained in:
Jean-Marie Traissard 2006-09-15 12:08:53 +00:00
parent 470e668ea2
commit 7868edb0ad
1 changed files with 1 additions and 1 deletions

View File

@ -1018,7 +1018,7 @@ class ChatControl(ChatControlBase):
acct_info = ''
self.account_displayed = False
for ctrl in self.parent_win.controls():
if ctrl == self:
if ctrl == self or ctrl.type_id == 'gc':
continue
if self.contact.get_shown_name() == ctrl.contact.get_shown_name()\
and not avoid_showing_account_too: