gc hostory now always call fake_jid history and not real_jid history

This commit is contained in:
Yann Leboulanger 2005-11-21 15:28:50 +00:00
parent 50fce9cd87
commit 04d14b82e6
1 changed files with 1 additions and 8 deletions

View File

@ -1128,14 +1128,7 @@ current room topic.') % command, room_jid)
vcard.VcardWindow(c2, self.account, False) vcard.VcardWindow(c2, self.account, False)
def on_history(self, widget, room_jid, nick): def on_history(self, widget, room_jid, nick):
c = gajim.gc_contacts[self.account][room_jid][nick] jid = gajim.construct_fjid(room_jid, nick)
if c.jid and c.resource:
# on GC, we know resource only if we're mod and up
jid = c.jid
fjid = c.jid + '/' + c.resource
else:
fjid = gajim.construct_fjid(room_jid, nick)
jid = fjid
self.on_history_menuitem_clicked(jid = jid) self.on_history_menuitem_clicked(jid = jid)
def on_add_to_roster(self, widget, jid): def on_add_to_roster(self, widget, jid):