summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-13 16:59:17 +0200
committerdefault <nobody@localhost>2023-04-13 16:59:17 +0200
commitbcde97c2d53f9c94c6ced2717945affa4ede554c (patch)
treee57442ff4bd0f2bc25ae516241ca5bcdaa0c3878 /activitypub.c
parent2d5d63554c32c7166933ce0d7d842c05471c83fe (diff)
New function notify_add().
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 792080d..851699a 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -935,6 +935,9 @@ void notify(snac *snac, xs_str *type, xs_str *utype, xs_str *actor, xs_dict *msg
if (!xs_is_null(bot) && !xs_is_null(chat_id) && *bot && *chat_id)
enqueue_telegram(body, bot, chat_id);
+
+ /* finally, store it in the notification folder */
+ notify_add(snac, type, utype, actor, objid);
}