summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-14 19:17:16 +0200
committerdefault <nobody@localhost>2023-04-14 19:17:16 +0200
commitbd21d144de18bf67facef287705e34ba030b46d8 (patch)
tree6297a76d751bc93d3be414b473e2470c27b022e6 /activitypub.c
parent9ce6fb03edbaa069ebc42f72ac10e3d8e93b3b0e (diff)
New function timeline_touch().
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index bf9ce67..98baf8b 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1147,9 +1147,12 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
else
snac_debug(snac, 1, xs_fmt("process_message type '%s' ignored", type));
- if (do_notify)
+ if (do_notify) {
notify(snac, type, utype, actor, msg);
+ timeline_touch(snac);
+ }
+
return 1;
}