Skip to content
Snippets Groups Projects
Commit 04d14b82 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

gc hostory now always call fake_jid history and not real_jid history

parent 50fce9cd
No related branches found
No related tags found
No related merge requests found
......@@ -1128,14 +1128,7 @@ def on_info(self, widget, room_jid, nick):
vcard.VcardWindow(c2, self.account, False)
def on_history(self, widget, room_jid, nick):
c = gajim.gc_contacts[self.account][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
jid = gajim.construct_fjid(room_jid, nick)
self.on_history_menuitem_clicked(jid = jid)
def on_add_to_roster(self, widget, jid):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment