From 6fc748933ad263ba0e8c78eb9ae1e085a2b0dfb2 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 15 Apr 2026 16:59:19 +0200 Subject: Add neighborhood feature --- data.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'data.c') diff --git a/data.c b/data.c index 992a42f..4521f17 100644 --- a/data.c +++ b/data.c @@ -1543,6 +1543,14 @@ void timeline_update_indexes(snac *snac, const char *id) { object_user_cache_add(snac, id, "private"); + /* BEGIN neighborhood */ + { + xs *n_msg = NULL; + if (valid_status(object_get(id, &n_msg))) + neighborhood_update_indexes(id, n_msg); + } + /* END neighborhood */ + if (is_msg_mine(snac, id)) { xs *msg = NULL; -- cgit