diff options
| author | taehoon <th.dev91@gmail.com> | 2019-03-02 08:21:15 -0500 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-03-21 16:39:41 -0400 |
| commit | a0bccbce9452c21cc075ecc5ba99c1e99a85dbed (patch) | |
| tree | d114b921daf45cfd5683ae3d423dcf073d804ff6 | |
| parent | d7919109ec30c5a75690d6c5b26f1ecebe74d7bf (diff) | |
Add comment
| -rw-r--r-- | src/modules/users.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/users.js b/src/modules/users.js index dd729410..d75ac9d4 100644 --- a/src/modules/users.js +++ b/src/modules/users.js @@ -111,6 +111,7 @@ export const mutations = { state.currentUser.blockIds = blockIds }, updateMutes (state, mutedUsers) { + // Reset muted of all fetched users each(state.users, (user) => { user.muted = false }) // TODO: Remove this line once we get muted property of user object from the api const newUsers = map(mutedUsers, (user) => ({ ...user, muted: true })) |
