diff options
| author | 2023-04-14 19:39:31 +0200 | |
|---|---|---|
| committer | 2023-04-14 19:39:31 +0200 | |
| commit | 9e7a77c10f0bf3e4d9c99ff8c188476ca9c62a92 (patch) | |
| tree | 80ec39655d24a8a175852de671ff300f238c52a4 /snac.h | |
| parent | Set the timeline check time after showing the notifications. (diff) | |
| download | snac2-9e7a77c10f0bf3e4d9c99ff8c188476ca9c62a92.tar.gz snac2-9e7a77c10f0bf3e4d9c99ff8c188476ca9c62a92.tar.xz snac2-9e7a77c10f0bf3e4d9c99ff8c188476ca9c62a92.zip | |
New mastoapi to clear all notifications.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -143,6 +143,7 @@ void notify_add(snac *snac, const char *type, const char *utype, | |||
| 143 | const char *actor, const char *objid); | 143 | const char *actor, const char *objid); |
| 144 | xs_dict *notify_get(snac *snac, const char *id); | 144 | xs_dict *notify_get(snac *snac, const char *id); |
| 145 | xs_list *notify_list(snac *snac, int new_only); | 145 | xs_list *notify_list(snac *snac, int new_only); |
| 146 | void notify_clear(snac *snac); | ||
| 146 | 147 | ||
| 147 | void inbox_add(const char *inbox); | 148 | void inbox_add(const char *inbox); |
| 148 | void inbox_add_by_actor(const xs_dict *actor); | 149 | void inbox_add_by_actor(const xs_dict *actor); |