From b68955dcb76764f9e3ff550c94743b9a1e46e9be Mon Sep 17 00:00:00 2001 From: feruz Date: Tue, 23 Mar 2021 09:25:57 +0200 Subject: [PATCH] expand condition for replies also --- src/providers/hive/dhive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/hive/dhive.js b/src/providers/hive/dhive.js index 67748e42c..97ce62269 100644 --- a/src/providers/hive/dhive.js +++ b/src/providers/hive/dhive.js @@ -462,7 +462,7 @@ export const getRankedPosts = async (query, currentUserName, filterNsfw) => { let posts = await client.call('bridge', 'get_ranked_posts', query); if (posts) { - const areComments = query.sort === 'comments'; + const areComments = query.sort === 'comments' || query.sort === 'replies'; posts = parsePosts(posts, currentUserName, areComments); if (filterNsfw !== '0') {