Account Media: Filter non-owned media for other users
This commit is contained in:
parent
741b27195e
commit
3179eacadd
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ export const getAccountGallery = createSelector([
|
||||||
return statusIds.reduce((medias, statusId) => {
|
return statusIds.reduce((medias, statusId) => {
|
||||||
const status = statuses.get(statusId);
|
const status = statuses.get(statusId);
|
||||||
const account = accounts.get(status.get('account'));
|
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')
|
return medias.concat(status.get('media_attachments')
|
||||||
.map(media => media.merge({ status, account })));
|
.map(media => media.merge({ status, account })));
|
||||||
}, ImmutableList());
|
}, ImmutableList());
|
||||||
|
|
Loading…
Reference in a new issue