Added test for /bookmark list
This commit is contained in:
@@ -1726,7 +1726,8 @@ cmd_bookmark(gchar **args, struct cmd_help_t help)
|
||||
/* TODO: /bookmark list room@server */
|
||||
|
||||
if (cmd == NULL || strcmp(cmd, "list") == 0) {
|
||||
cons_show_bookmarks(bookmark_get_list());
|
||||
const GList *bookmarks = bookmark_get_list();
|
||||
cons_show_bookmarks(bookmarks);
|
||||
} else {
|
||||
gboolean autojoin = FALSE;
|
||||
gchar *jid = NULL;
|
||||
|
||||
Reference in New Issue
Block a user