From a0bccbce9452c21cc075ecc5ba99c1e99a85dbed Mon Sep 17 00:00:00 2001
From: taehoon
Date: Sat, 2 Mar 2019 08:21:15 -0500
Subject: [PATCH] Add comment
---
src/modules/users.js | 1 +
1 file changed, 1 insertion(+)
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 }))