Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not filter the status collection after muting and blocking #5815

Merged
merged 1 commit into from
Nov 26, 2017

Conversation

akihikodaki
Copy link
Contributor

Filtering the status collection wipes out even the profiles of muted and blocked accounts. However, the behavior is inconsistent with the server-side behavior.
This resolves #5469.

@akihikodaki akihikodaki added bug Something isn't working ui Front-end, design labels Nov 25, 2017
@@ -139,9 +127,6 @@ export default function statuses(state = initialState, action) {
return normalizeStatuses(state, action.statuses);
case TIMELINE_DELETE:
return deleteStatus(state, action.id, action.references);
case ACCOUNT_BLOCK_SUCCESS:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to remove these from imports too (CodeClimate)

ykzts
ykzts previously requested changes Nov 25, 2017
Copy link
Sponsor Member

@ykzts ykzts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filtering the status collection wipes out even the profiles of muted and
blocked accounts. However, the behavior is inconsistent with the server-
side behavior.
@akihikodaki
Copy link
Contributor Author

b448e6d applies #5815 (review).

@Gargron Gargron merged commit fd87e5a into mastodon:master Nov 26, 2017
cobodo pushed a commit to cobodo/mastodon that referenced this pull request Dec 6, 2017
…on#5815)

Filtering the status collection wipes out even the profiles of muted and
blocked accounts. However, the behavior is inconsistent with the server-
side behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui Front-end, design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mutes and blocks hide statuses even from the targets' profiles in the same session
3 participants