diff options
Diffstat (limited to 'api/user.go')
-rw-r--r-- | api/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go index 34e6c01af..89ac1c837 100644 --- a/api/user.go +++ b/api/user.go @@ -260,7 +260,7 @@ func CreateUser(user *model.User) (*model.User, *model.AppError) { ruser.Sanitize(map[string]bool{}) // This message goes to every channel, so the channelId is irrelevant - PublishAndForget(model.NewMessage("", "", ruser.Id, model.ACTION_NEW_USER)) + go Publish(model.NewMessage("", "", ruser.Id, model.ACTION_NEW_USER)) return ruser, nil } |