expand condition for replies also

This commit is contained in:
feruz 2021-03-23 09:25:57 +02:00
parent 7222075bf7
commit b68955dcb7

View File

@ -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') {