Limit reply filtering to home and public

This commit is contained in:
Shpuld Shpuldson 2020-07-17 09:33:18 +03:00
parent 950ae6d89a
commit f28ba3dfdb
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,9 @@ const fetchAndUpdate = ({
args['userId'] = userId
args['tag'] = tag
args['withMuted'] = !hideMutedPosts
if (loggedIn) args['replyVisibility'] = replyVisibility
if (loggedIn && ['friends', 'public', 'publicAndExternal'].includes(timeline)) {
args['replyVisibility'] = replyVisibility
}
const numStatusesBeforeFetch = timelineData.statuses.length