ssb: Hint at follow depth with profile image shape. Also, reload follow information the same way we re-determine channel unread status. Let's see if this feels good.
This commit is contained in:
@ -2187,6 +2187,7 @@ static void _tf_ssb_following_after_work(tf_ssb_t* ssb, int status, void* user_d
|
||||
JS_SetPropertyStr(context, entry, "ob", JS_NewInt32(context, following->out_following[i].blocking_count));
|
||||
JS_SetPropertyStr(context, entry, "if", JS_NewInt32(context, following->out_following[i].followed_by_count));
|
||||
JS_SetPropertyStr(context, entry, "ib", JS_NewInt32(context, following->out_following[i].blocked_by_count));
|
||||
JS_SetPropertyStr(context, entry, "d", JS_NewInt32(context, following->out_following[i].depth));
|
||||
JS_SetPropertyStr(context, object, following->out_following[i].id, entry);
|
||||
}
|
||||
JSValue result = JS_Call(context, following->promise[0], JS_UNDEFINED, 1, &object);
|
||||
|
Reference in New Issue
Block a user