mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 03:46:22 +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:
@@ -85,3 +85,9 @@ bookmark_ignored(Bookmark *bookmark)
|
||||
{
|
||||
return g_key_file_get_boolean(bookmark_ignore_keyfile, account_jid, bookmark->barejid, NULL);
|
||||
}
|
||||
|
||||
gchar **
|
||||
bookmark_ignore_list(gsize *len)
|
||||
{
|
||||
return g_key_file_get_keys(bookmark_ignore_keyfile, account_jid, len, NULL);
|
||||
}
|
||||
|
||||
@@ -39,5 +39,6 @@
|
||||
void bookmark_ignore_on_connect();
|
||||
void bookmark_ignore_on_disconnect();
|
||||
gboolean bookmark_ignored(Bookmark *bookmark);
|
||||
gchar ** bookmark_ignore_list(gsize *len);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user