mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
PLT-2806 sending websocket when adding user to team (#2953)
* PLT-2806 sending websocket when adding user to team * Fixing config file
This commit is contained in:
parent
ceaaf2243c
commit
c8285185a9
1 changed files with 3 additions and 0 deletions
|
|
@ -275,6 +275,9 @@ func JoinUserToTeam(team *model.Team, user *model.User) *model.AppError {
|
|||
RemoveAllSessionsForUserId(user.Id)
|
||||
InvalidateCacheForUser(user.Id)
|
||||
|
||||
// This message goes to every channel, so the channelId is irrelevant
|
||||
PublishAndForget(model.NewMessage("", "", user.Id, model.ACTION_NEW_USER))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue