diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-12-22 10:35:55 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-12-22 10:35:55 -0500 |
commit | 52c4538817c310977474dd94c8e828f6489dadab (patch) | |
tree | 0c4d3fe01b7beb3424e2d95a28f4343cc3169fbd /api | |
parent | 8a92908dad4f74ac3373d65a361594acb95cf1a0 (diff) | |
download | chat-52c4538817c310977474dd94c8e828f6489dadab.tar.gz chat-52c4538817c310977474dd94c8e828f6489dadab.tar.bz2 chat-52c4538817c310977474dd94c8e828f6489dadab.zip |
Remove new user event handling on client (#4822)
Diffstat (limited to 'api')
-rw-r--r-- | api/team.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/api/team.go b/api/team.go index 730eb1d3d..af517d9ba 100644 --- a/api/team.go +++ b/api/team.go @@ -303,11 +303,6 @@ func JoinUserToTeam(team *model.Team, user *model.User) *model.AppError { RemoveAllSessionsForUserId(user.Id) InvalidateCacheForUser(user.Id) - // This message goes to everyone, so the teamId, channelId and userId are irrelevant - message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_NEW_USER, "", "", "", nil) - message.Add("user_id", user.Id) - go Publish(message) - return nil } |