summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-10-19 22:29:46 +0200
committerGravatar default2024-10-19 22:29:46 +0200
commit75911f5ce920a408fe81416232f9e5825afc64c2 (patch)
tree8b80dd048b5c038b0610020d17c75683d42c4a94
parentUpdated usage(). (diff)
downloadpenes-snac2-75911f5ce920a408fe81416232f9e5825afc64c2.tar.gz
penes-snac2-75911f5ce920a408fe81416232f9e5825afc64c2.tar.xz
penes-snac2-75911f5ce920a408fe81416232f9e5825afc64c2.zip
Call list_distribute() from timeline_request().
-rw-r--r--activitypub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 0a4419d..6300fc9 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -378,6 +378,9 @@ int timeline_request(snac *snac, const char **id, xs_str **wrk, int level)
378 /* store */ 378 /* store */
379 timeline_add(snac, nid, object); 379 timeline_add(snac, nid, object);
380 380
381 /* redistribute to lists for this user */
382 list_distribute(snac, actor, object);
383
381 /* recurse! */ 384 /* recurse! */
382 timeline_request(snac, &in_reply_to, NULL, level + 1); 385 timeline_request(snac, &in_reply_to, NULL, level + 1);
383 } 386 }