From 287520453c30e0d1408699b989bec87b0b4d7ed9 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 12 Sep 2023 16:30:03 +0200 Subject: [PATCH] Fix front-end bug when processing relationship-related account actions (#26902) --- app/javascript/mastodon/reducers/relationships.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/mastodon/reducers/relationships.js b/app/javascript/mastodon/reducers/relationships.js index 191448c0e8..32b4b4f371 100644 --- a/app/javascript/mastodon/reducers/relationships.js +++ b/app/javascript/mastodon/reducers/relationships.js @@ -73,6 +73,7 @@ export default function relationships(state = initialState, action) { case ACCOUNT_UNMUTE_SUCCESS: case ACCOUNT_PIN_SUCCESS: case ACCOUNT_UNPIN_SUCCESS: + return normalizeRelationship(state, action.relationship); case RELATIONSHIPS_FETCH_SUCCESS: return normalizeRelationships(state, action.relationships); case submitAccountNote.fulfilled: