summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authorGravatar default2023-04-14 19:39:31 +0200
committerGravatar default2023-04-14 19:39:31 +0200
commit9e7a77c10f0bf3e4d9c99ff8c188476ca9c62a92 (patch)
tree80ec39655d24a8a175852de671ff300f238c52a4 /snac.h
parentSet the timeline check time after showing the notifications. (diff)
downloadsnac2-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 17bd361..d65b5ac 100644
--- a/snac.h
+++ b/snac.h
@@ -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);
144xs_dict *notify_get(snac *snac, const char *id); 144xs_dict *notify_get(snac *snac, const char *id);
145xs_list *notify_list(snac *snac, int new_only); 145xs_list *notify_list(snac *snac, int new_only);
146void notify_clear(snac *snac);
146 147
147void inbox_add(const char *inbox); 148void inbox_add(const char *inbox);
148void inbox_add_by_actor(const xs_dict *actor); 149void inbox_add_by_actor(const xs_dict *actor);