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:
Diffstat (limited to 'gajim/gtk/search_view.py')
-rw-r--r--gajim/gtk/search_view.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/gajim/gtk/search_view.py b/gajim/gtk/search_view.py
index f38c194e1..6ab3e5654 100644
--- a/gajim/gtk/search_view.py
+++ b/gajim/gtk/search_view.py
@@ -196,13 +196,10 @@ class SearchView(Gtk.Box):
accounts = self._get_accounts()
assert self._results_iterator is not None
for msg in itertools.islice(self._results_iterator, 25):
- archive_jid = app.storage.archive.get_jid_from_id(msg.jid_id)
- if archive_jid is None:
- continue
result_row = ResultRow(
msg,
accounts[msg.account_id],
- JID.from_string(archive_jid.jid))
+ msg.jid)
self._ui.results_listbox.add(result_row)