diff --git a/src/structures/Message.js b/src/structures/Message.js index 9bbdae2..0c582cd 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -382,7 +382,7 @@ class Message extends Base { await this.client.pupPage.evaluate((msgId, everyone) => { let msg = window.Store.Msg.get(msgId); - if (everyone && msg.id.fromMe && msg.canRevoke()) { + if (everyone && msg.id.fromMe && msg._canRevoke()) { return window.Store.Cmd.sendRevokeMsgs(msg.chat, [msg], true); }