11460 user.get all profiles in channel (#11515)
Этот коммит содержится в:
коммит произвёл
Hanzei
родитель
8dfd3bab20
Коммит
11f1accac6
@@ -28,7 +28,12 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
|
||||
return []string{}, nil
|
||||
}
|
||||
|
||||
pchan := a.Srv.Store.User().GetAllProfilesInChannel(channel.Id, true)
|
||||
pchan := make(chan store.StoreResult, 1)
|
||||
go func() {
|
||||
props, err := a.Srv.Store.User().GetAllProfilesInChannel(channel.Id, true)
|
||||
pchan <- store.StoreResult{Data: props, Err: err}
|
||||
close(pchan)
|
||||
}()
|
||||
|
||||
cmnchan := make(chan store.StoreResult, 1)
|
||||
go func() {
|
||||
|
||||
Ссылка в новой задаче
Block a user