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:
parent
470e668ea2
commit
7868edb0ad
|
@ -1018,7 +1018,7 @@ class ChatControl(ChatControlBase):
|
||||||
acct_info = ''
|
acct_info = ''
|
||||||
self.account_displayed = False
|
self.account_displayed = False
|
||||||
for ctrl in self.parent_win.controls():
|
for ctrl in self.parent_win.controls():
|
||||||
if ctrl == self:
|
if ctrl == self or ctrl.type_id == 'gc':
|
||||||
continue
|
continue
|
||||||
if self.contact.get_shown_name() == ctrl.contact.get_shown_name()\
|
if self.contact.get_shown_name() == ctrl.contact.get_shown_name()\
|
||||||
and not avoid_showing_account_too:
|
and not avoid_showing_account_too:
|
||||||
|
|
Loading…
Reference in New Issue