Fix unchecked request when saving channel (#21043)

Этот коммит содержится в:
Tim Scheuermann
2022-11-07 11:28:31 +01:00
коммит произвёл GitHub
родитель d855916c6e
Коммит 033bdd6f1a
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@@ -614,7 +614,7 @@ func (a *App) createGroupChannel(c request.CTX, userIDs []string) (*model.Channe
for _, user := range users {
cm := &model.ChannelMember{
UserId: user.Id,
ChannelId: group.Id,
ChannelId: channel.Id,
NotifyProps: model.GetDefaultChannelNotifyProps(),
SchemeGuest: user.IsGuest(),
SchemeUser: !user.IsGuest(),