summaryrefslogtreecommitdiffstats
path: root/app/user.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2018-03-23 15:04:22 -0500
committerGitHub <noreply@github.com>2018-03-23 15:04:22 -0500
commit2bf2b5b851dfc693e5afa9648b5bbb9e6321b7fe (patch)
treeed1f682afc1bd9328b35b7e469a32a90068e1c7a /app/user.go
parenta8e0fc6c5d85a4007ab68fe867cb1a7bee4c93c3 (diff)
downloadchat-2bf2b5b851dfc693e5afa9648b5bbb9e6321b7fe.tar.gz
chat-2bf2b5b851dfc693e5afa9648b5bbb9e6321b7fe.tar.bz2
chat-2bf2b5b851dfc693e5afa9648b5bbb9e6321b7fe.zip
send websocket event when users are activated / deactivated (#8500)
Diffstat (limited to 'app/user.go')
-rw-r--r--app/user.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/user.go b/app/user.go
index 8f393038a..e1ba0e79f 100644
--- a/app/user.go
+++ b/app/user.go
@@ -940,6 +940,8 @@ func (a *App) UpdateActive(user *model.User, active bool) (*model.User, *model.A
}
}
+ a.sendUpdatedUserEvent(*ruser, false)
+
return ruser, nil
}
}