diff --git a/pkg/manager/notifications/notifications.go b/pkg/manager/notifications/notifications.go index 8c93abaf8..2c64c6b14 100644 --- a/pkg/manager/notifications/notifications.go +++ b/pkg/manager/notifications/notifications.go @@ -9,7 +9,7 @@ func OnApplyEdit(fac models.Repo, edit *models.Edit) { nqb := fac.Notification() eqb := fac.Edit() if edit.Status == models.VoteStatusEnumAccepted.String() || edit.Status == models.VoteStatusEnumImmediateAccepted.String() && edit.Operation == models.OperationEnumCreate.String() { - if edit.TargetType == models.TargetTypeEnumScene.String() { + if edit.TargetType == models.TargetTypeEnumScene.String() && edit.Operation == models.OperationEnumCreate.String() { sceneID, err := eqb.FindSceneID(edit.ID) if err != nil || sceneID == nil { return