PLT-2806 sending websocket when adding user to team (#2953)
* PLT-2806 sending websocket when adding user to team * Fixing config file
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
ceaaf2243c
Коммит
c8285185a9
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user