bugfix: get the show where it now is
This commit is contained in:
parent
3c10f30f1f
commit
5313a6b588
|
@ -333,10 +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]
|
||||||
tv = gc.list_treeview[jid]
|
show = gc.contacts[nick].show()
|
||||||
model = tv.get_model()
|
|
||||||
iter = gc.get_user_iter(jid, nick)
|
|
||||||
show = model.get_value(iter, 3)
|
|
||||||
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