Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2005-12-30 15:19:49 +0300
committerYann Leboulanger <asterix@lagaule.org>2005-12-30 15:19:49 +0300
commit96419ac1d8f1d0c9e12d0d846e22d383b5aa3c59 (patch)
tree98202fec80f84229f17eb97c0b21e5352f44553f
parentdab85845de4ff49852d3f14cc060a0d73399d9be (diff)
always create TC tab with a contact instance, not a gc_contact instance
-rw-r--r--src/groupchat_window.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/groupchat_window.py b/src/groupchat_window.py
index a7b463943..b441180ed 100644
--- a/src/groupchat_window.py
+++ b/src/groupchat_window.py
@@ -1186,7 +1186,8 @@ current room topic.') % command, room_jid)
fjid = gajim.construct_fjid(room_jid, nick) # 'fake' jid
if not gajim.interface.instances[self.account]['chats'].has_key(fjid):
gc_c = gajim.contacts.get_gc_contact(self.account, room_jid, nick)
- gajim.interface.roster.new_chat(gc_c, self.account)
+ c = gajim.contacts.contact_from_gc_contact(gc_c)
+ gajim.interface.roster.new_chat(c, self.account)
#make active here in case we need to send a message
gajim.interface.instances[self.account]['chats'][fjid].set_active_tab(fjid)