aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-09-03 21:20:59 +0200
committergrunfink <grunfink@comam.es>2025-09-03 21:20:59 +0200
commit5693c81d691f3fd68659ff30309a1402e2a6356a (patch)
tree0dac43bee77a8a8085ac9dd0565e2111e7c5aa32
parent43740810cdd371553f1e3c27510fd14a601251a7 (diff)
Always add a user's posts to the public timeline, even if it's not really public.
-rw-r--r--data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/data.c b/data.c
index 7e90a06..b36e31e 100644
--- a/data.c
+++ b/data.c
@@ -1463,6 +1463,9 @@ void timeline_update_indexes(snac *snac, const char *id)
else
srv_debug(1, xs_fmt("Not added to public instance index %s", id));
}
+ else
+ /* also add it to public, it will be discarded later */
+ object_user_cache_add(snac, id, "public");
}
}
}