forked from AkkomaGang/akkoma-fe
Limit reply filtering to home and public
This commit is contained in:
parent
950ae6d89a
commit
f28ba3dfdb
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue