Refactored bookmarks to use option parser, allow bookmarking rooms with passwords

This commit is contained in:
James Booth
2014-05-10 00:50:43 +01:00
parent a519d25e4b
commit d2662a6f17
12 changed files with 243 additions and 288 deletions

View File

@@ -663,6 +663,9 @@ _cons_show_bookmarks(const GList *list)
if (item->autojoin) {
wprintw(console->win, " (autojoin)");
}
if (item->password != NULL) {
wprintw(console->win, " (private)");
}
wprintw(console->win, "\n");
list = g_list_next(list);
}