aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-09-03 06:14:51 +0200
committergrunfink <grunfink@comam.es>2025-09-03 06:14:51 +0200
commitd358f5bcd0dfe326a5e0361237ac238a25785292 (patch)
treefe055dbab7f0039fa5062e4f0ddb2e5a846292ad
parentd40e47f70964ad7e41fc06a8aa281db30a24050b (diff)
Call enqueue_collect_outbox() after a Follow Accept.
-rw-r--r--activitypub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index c186095..2c0aa98 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -2588,6 +2588,9 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
if (following_check(snac, actor)) {
following_add(snac, actor, msg);
snac_log(snac, xs_fmt("confirmed follow from %s", actor));
+
+ /* request a bit of this fellow's outbox */
+ enqueue_collect_outbox(snac, actor);
}
else
snac_log(snac, xs_fmt("spurious follow accept from %s", actor));