mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
eslint
This commit is contained in:
committed by
Adhiraj Singh
parent
8805d75afc
commit
99517d046f
@@ -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(isJidGroup(content.delete?.remoteJid) && !content.delete?.fromMe) {
|
||||
if(isJidGroup(content.delete?.remoteJid as string) && !content.delete?.fromMe) {
|
||||
additionalAttributes.edit = '8'
|
||||
} else {
|
||||
additionalAttributes.edit = '7'
|
||||
|
||||
Reference in New Issue
Block a user