logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 067caacb296bb26a6d7197426f36be1f4ff079b7
parent 950ae6d89a95e74e74b3f2e5abcd9233c3db8958
Author: lain <lain@soykaf.club>
Date:   Fri, 17 Jul 2020 10:36:06 +0000

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

Diffstat:

Msrc/services/timeline_fetcher/timeline_fetcher.service.js4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/services/timeline_fetcher/timeline_fetcher.service.js b/src/services/timeline_fetcher/timeline_fetcher.service.js @@ -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