Add bookmark ignore functionality for multiple accounts

```
cat ~/.local/share/profanity/bookmark_ignore
[jubalh@iodoru.org]
profanity@rooms.dismail.de=true

[testuser@domain.org]
testr@rooms.domain.org=true
```

Regards https://github.com/profanity-im/profanity/issues/1115
This commit is contained in:
Michael Vetter
2020-05-24 13:31:24 +02:00
parent d03c953d4a
commit 242ffbcf70
4 changed files with 30 additions and 23 deletions

View File

@@ -36,6 +36,8 @@
#ifndef BOOKMARK_IGNORE_H
#define BOOKMARK_IGNORE_H
void bookmark_ignore_on_connect();
void bookmark_ignore_on_disconnect();
gboolean bookmark_ignored(Bookmark *bookmark);
#endif