Commit 975f1b3b authored by Philipp Hörist's avatar Philipp Hörist

Bookmarks: Store bookmarks in dictonary

This allows for much faster access than with a list
parent 4f213669
Pipeline #4939 passed with stages
in 3 minutes and 34 seconds
This diff is collapsed.
......@@ -1462,7 +1462,7 @@ class Interface:
# Fetch data from bookmarks
con = app.connections[account]
bookmark = con.get_module('Bookmarks').get_bookmark_from_jid(room_jid)
bookmark = con.get_module('Bookmarks').get_bookmark(room_jid)
if bookmark is not None:
if bookmark.nick is not None:
nick = bookmark.nick
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment