mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 18:46:21 +00:00
List ignored bookmarks
`/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
This commit is contained in:
@@ -2683,3 +2683,18 @@ _show_roster_contacts(GSList *list, gboolean show_groups)
|
||||
curr = g_slist_next(curr);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
cons_show_bookmarks_ignore(gchar **list, gsize len)
|
||||
{
|
||||
int i;
|
||||
ProfWin *console = wins_get_console();
|
||||
|
||||
cons_show("");
|
||||
cons_show("Ignored bookmarks:");
|
||||
|
||||
for(i=0; i<len; i++) {
|
||||
win_print(console, THEME_DEFAULT, "-", " %s", list[i]);
|
||||
win_newline(console);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -268,6 +268,7 @@ void cons_show_login_success(ProfAccount *account, gboolean secured);
|
||||
void cons_show_account_list(gchar **accounts);
|
||||
void cons_show_room_list(GSList *room, const char *const conference_node);
|
||||
void cons_show_bookmarks(const GList *list);
|
||||
void cons_show_bookmarks_ignore(gchar **list, gsize len);
|
||||
void cons_show_disco_items(GSList *items, const char *const jid);
|
||||
void cons_show_disco_info(const char *from, GSList *identities, GSList *features);
|
||||
void cons_show_room_invite(const char *const invitor, const char *const room, const char *const reason);
|
||||
|
||||
Reference in New Issue
Block a user