little bugfix

This commit is contained in:
Yann Leboulanger 2005-06-28 22:31:05 +00:00
parent f19e62cfa5
commit 6a4214fcab
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ class Interface:
fjid = jid + '/' + nick
if not self.windows[account]['chats'].has_key(fjid):
gc = self.windows[account]['gc'][jid]
show = gc.contacts[nick].show
show = gc.contacts[jid][nick].show
u = Contact(jid = fjid, name = nick, groups = ['none'], show = show,
ask = 'none')
self.roster.new_chat(u, account)