From 300259fd976bb4496c5e1cca0df9bd47a1947259 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Sat, 2 Mar 2019 06:47:05 -0500
Subject: [PATCH] Add todo comment
---
src/modules/users.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/modules/users.js b/src/modules/users.js
index 668ebabd..79046371 100644
--- a/src/modules/users.js
+++ b/src/modules/users.js
@@ -107,6 +107,7 @@ export const mutations = {
},
updateMutes (state, mutedUsers) {
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 }))
each(newUsers, (user) => mergeOrAdd(state.users, state.usersObject, user))
},