We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96821f5 commit 4137984Copy full SHA for 4137984
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
@@ -3572,6 +3572,18 @@ export class BaileysStartupService extends ChannelStartupService {
3572
status: 'DELETED',
3573
},
3574
});
3575
+ const messageUpdate: any = {
3576
+ messageId: message.id,
3577
+ keyId: messageId,
3578
+ remoteJid: response.key.remoteJid,
3579
+ fromMe: response.key.fromMe,
3580
+ participant: response.key?.remoteJid,
3581
+ status: 'DELETED',
3582
+ instanceId: this.instanceId,
3583
+ };
3584
+ await this.prismaRepository.messageUpdate.create({
3585
+ data: messageUpdate,
3586
+ });
3587
} else {
3588
await this.prismaRepository.message.deleteMany({
3589
where: {
0 commit comments