mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
estlint :D
This commit is contained in:
committed by
Adhiraj Singh
parent
abd0711bc7
commit
a6a2cd9def
@@ -621,7 +621,7 @@ export const makeMessagesSocket = (config: SocketConfig) => {
|
||||
// required for delete
|
||||
if(isDeleteMsg) {
|
||||
// if the chat is a group, and I am not the author, then delete the message as an admin
|
||||
if (content.delete?.remoteJid?.endsWith('@g.us') && !content.delete?.fromMe) {
|
||||
if(content.delete?.remoteJid?.endsWith('@g.us') && !content.delete?.fromMe) {
|
||||
additionalAttributes.edit = '8'
|
||||
} else {
|
||||
additionalAttributes.edit = '7'
|
||||
|
||||
Reference in New Issue
Block a user