From 854416ceb2397a80b8a41c1151767f335ff02f1d Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 7 Dec 2024 11:28:33 -0500 Subject: [PATCH] ssb: Make the depth arg to ssb.following() match the docs. --- src/ssb.js.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssb.js.c b/src/ssb.js.c index 382665bc..425e0cd6 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -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 - 1); + following->out_following = tf_ssb_db_following_deep(ssb, following->ids, following->ids_count, following->depth); } static void _tf_ssb_following_after_work(tf_ssb_t* ssb, int status, void* user_data)