This commit is contained in:
Joseph Mansy
2024-09-15 23:51:50 +03:00
committed by GitHub
3 changed files with 10 additions and 3 deletions

View File

@@ -383,7 +383,7 @@ func (b *Bwhatsapp) Send(msg config.Message) (string, error) {
return "", nil
}
_, err := b.wc.RevokeMessage(groupJID, msg.ID)
_, err := b.wc.SendMessage(context.Background(), groupJID, b.wc.BuildRevoke(groupJID, extendedMsgID.Sender, extendedMsgID.MessageID))
return "", err
}