ssb: Adjust the follow/hops policies. Replication defaults to 2 hops, counted in the same way as the docs, and is configurable. #79
Some checks are pending
Build Tilde Friends / Build-All (push) Waiting to run

This commit is contained in:
2024-11-25 11:20:01 -05:00
parent d5bd4c6735
commit f6d4e934e3
6 changed files with 10 additions and 14 deletions

View File

@ -2341,7 +2341,7 @@ typedef struct _following_t
static void _tf_ssb_following_work(tf_ssb_t* ssb, void* user_data)
{
following_t* following = user_data;
following->out_following = tf_ssb_db_following_deep(ssb, following->ids, following->ids_count, following->depth);
following->out_following = tf_ssb_db_following_deep(ssb, following->ids, following->ids_count, following->depth - 1);
}
static void _tf_ssb_following_after_work(tf_ssb_t* ssb, int status, void* user_data)