diff --git a/src/components/popups/deleteMegagroupMessages.tsx b/src/components/popups/deleteMegagroupMessages.tsx index 9f8f76c62..d5b749ad9 100644 --- a/src/components/popups/deleteMegagroupMessages.tsx +++ b/src/components/popups/deleteMegagroupMessages.tsx @@ -66,7 +66,7 @@ export default class PopupDeleteMegagroupMessages extends PopupElement { acc.set(field.peerId, set = new Set()); } - if(field.checked) { + if(field.checkboxField.checked) { set.add(field.action); } return acc;