Skip to content

Commit

Permalink
Update XeonCheems11.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DGXeon authored Mar 3, 2024
1 parent 9df97b7 commit 11e5be1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion XeonCheems11.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,6 @@ list.push({

//antiviewonce
if ( db.data.chats[m.chat].antiviewonce && m.isGroup && m.mtype == 'viewOnceMessageV2') {
if (m.isBaileys && m.fromMe) return
let val = { ...m }
let msg = val.message?.viewOnceMessage?.message || val.message?.viewOnceMessageV2?.message
delete msg[Object.keys(msg)[0]].viewOnce
Expand Down

0 comments on commit 11e5be1

Please sign in to comment.