little bugfix
This commit is contained in:
parent
f19e62cfa5
commit
6a4214fcab
|
@ -333,7 +333,7 @@ class Interface:
|
||||||
fjid = jid + '/' + nick
|
fjid = jid + '/' + nick
|
||||||
if not self.windows[account]['chats'].has_key(fjid):
|
if not self.windows[account]['chats'].has_key(fjid):
|
||||||
gc = self.windows[account]['gc'][jid]
|
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,
|
u = Contact(jid = fjid, name = nick, groups = ['none'], show = show,
|
||||||
ask = 'none')
|
ask = 'none')
|
||||||
self.roster.new_chat(u, account)
|
self.roster.new_chat(u, account)
|
||||||
|
|
Loading…
Reference in New Issue