Merge branch 'fix/reply-filtering-limit-to-friends-public' into 'develop'
Fix #898 and #900 Limit reply filtering to home and public timelines Closes #900 and #898 See merge request pleroma/pleroma-fe!1197
This commit is contained in:
commit
067caacb29
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ const fetchAndUpdate = ({
|
||||||
args['userId'] = userId
|
args['userId'] = userId
|
||||||
args['tag'] = tag
|
args['tag'] = tag
|
||||||
args['withMuted'] = !hideMutedPosts
|
args['withMuted'] = !hideMutedPosts
|
||||||
if (loggedIn) args['replyVisibility'] = replyVisibility
|
if (loggedIn && ['friends', 'public', 'publicAndExternal'].includes(timeline)) {
|
||||||
|
args['replyVisibility'] = replyVisibility
|
||||||
|
}
|
||||||
|
|
||||||
const numStatusesBeforeFetch = timelineData.statuses.length
|
const numStatusesBeforeFetch = timelineData.statuses.length
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue