From 3179eacadd6bb30c6e3e67294393256fccccb166 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 12 Jun 2020 20:47:43 -0500 Subject: [PATCH] Account Media: Filter non-owned media for other users --- app/soapbox/selectors/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/selectors/index.js b/app/soapbox/selectors/index.js index 0353cd177..c8bc22424 100644 --- a/app/soapbox/selectors/index.js +++ b/app/soapbox/selectors/index.js @@ -141,7 +141,7 @@ export const getAccountGallery = createSelector([ return statusIds.reduce((medias, statusId) => { const status = statuses.get(statusId); const account = accounts.get(status.get('account')); - if (status.get('reblogged') !== false) return medias; + if (status.get('reblog')) return medias; return medias.concat(status.get('media_attachments') .map(media => media.merge({ status, account }))); }, ImmutableList());