fix var name. chatestate are back. Fixes #2463

This commit is contained in:
Yann Leboulanger 2006-10-02 08:19:43 +00:00
parent 1d927b4ff4
commit f4a7ecbad0
1 changed files with 2 additions and 2 deletions

View File

@ -1024,8 +1024,8 @@ class ChatControl(ChatControlBase):
if acct_info: # We already found a contact with same nick if acct_info: # We already found a contact with same nick
break break
for jid in gajim.contacts.get_jid_list(account): for jid in gajim.contacts.get_jid_list(account):
contact = gajim.contacts.get_first_contact_from_jid(account, jid) contact_ = gajim.contacts.get_first_contact_from_jid(account, jid)
if contact.get_shown_name() == self.contact.get_shown_name(): if contact_.get_shown_name() == self.contact.get_shown_name():
acct_info = ' (%s)' % \ acct_info = ' (%s)' % \
gtkgui_helpers.escape_for_pango_markup(self.account) gtkgui_helpers.escape_for_pango_markup(self.account)
break break