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

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