mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 15:14:49 -06:00
Merge pull request #1633 from VCalazans/FIX/ISSUE-28
🐛 fix: Phone number as message ID for Evo AI #ISSUE 28
This commit is contained in:
commit
873fdcb22a
@ -70,7 +70,7 @@ export class EvoaiService extends BaseChatbotService<Evoai, EvoaiSetting> {
|
||||
}
|
||||
|
||||
const callId = `req-${uuidv4().substring(0, 8)}`;
|
||||
const messageId = msg?.key?.id || uuidv4();
|
||||
const messageId = remoteJid.split('@')[0] || uuidv4(); // Use phone number as messageId
|
||||
|
||||
// Prepare message parts
|
||||
const parts = [
|
||||
|
Loading…
Reference in New Issue
Block a user