Migrates Channel.PermanentDeleteMembersByChannel to sync by default (#11238)
Этот коммит содержится в:
коммит произвёл
Miguel Alatzar
родитель
075eadb040
Коммит
d1569c48d2
@@ -1916,8 +1916,8 @@ func (a *App) PermanentDeleteChannel(channel *model.Channel) *model.AppError {
|
||||
return err
|
||||
}
|
||||
|
||||
if result := <-a.Srv.Store.Channel().PermanentDeleteMembersByChannel(channel.Id); result.Err != nil {
|
||||
return result.Err
|
||||
if err := a.Srv.Store.Channel().PermanentDeleteMembersByChannel(channel.Id); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := a.Srv.Store.Webhook().PermanentDeleteIncomingByChannel(channel.Id); err != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user