Commit efcb6235 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix disabled join groupchat menu

When there are no bookmarks on the server the join groupchat menu
was disabled, preventing the user to open the join groupchat dialog
parent c9033938
......@@ -686,10 +686,8 @@ def build_sync_menu():
def get_bookmarks_menu(account, rebuild=False):
con = app.connections[account]
boomarks = con.get_module('Bookmarks').get_sorted_bookmarks(
if not boomarks:
return None
boomarks = con.get_module('Bookmarks').get_sorted_bookmarks(short_name=True)
menu = Gio.Menu()
# Build Join Groupchat
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