summaryrefslogtreecommitdiffstats
path: root/webapp/actions
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-04-28 10:12:30 -0400
committerChristopher Speller <crspeller@gmail.com>2017-04-28 10:12:30 -0400
commit83bfd95f65f5e74402f7146feecb68b37dd0bf84 (patch)
tree4bd26edcf6813af414d2572ed7181dd129066965 /webapp/actions
parent224ddb35cf7ac804883f2ef0c9e4f5ab83dde6bc (diff)
downloadchat-83bfd95f65f5e74402f7146feecb68b37dd0bf84.tar.gz
chat-83bfd95f65f5e74402f7146feecb68b37dd0bf84.tar.bz2
chat-83bfd95f65f5e74402f7146feecb68b37dd0bf84.zip
Fix inactive users showing up in team members modal (#6260)
Diffstat (limited to 'webapp/actions')
-rw-r--r--webapp/actions/user_actions.jsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/webapp/actions/user_actions.jsx b/webapp/actions/user_actions.jsx
index f6c9e0f60..eacb0df80 100644
--- a/webapp/actions/user_actions.jsx
+++ b/webapp/actions/user_actions.jsx
@@ -629,10 +629,7 @@ export function checkMfa(loginId, success, error) {
export function updateActive(userId, active, success, error) {
Client.updateActive(userId, active,
(data) => {
- AppDispatcher.handleServerAction({
- type: ActionTypes.RECEIVED_PROFILE,
- profile: data
- });
+ UserStore.saveProfile(data);
if (success) {
success(data);