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

Use correct account when opening history window

parent 9bafd769
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ class HistoryWindow:
col.set_resizable(True)
self.jid = None # The history we are currently viewing
self.account = None
self.account = account
self.completion_dict = {}
self.accounts_seen_online = [] # Update dict when new accounts connect
self.jids_to_search = []
......@@ -259,8 +259,7 @@ class HistoryWindow:
def on_jid_entry_activate(self, widget):
jid = self.jid_entry.get_text()
account = None # we don't know the account, could be any. Search for it!
self._load_history(jid, account)
self._load_history(jid, self.account)
self.results_window.set_property('visible', False)
def on_jid_entry_focus(self, widget, event):
......
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