mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 15:14:49 -06:00
🐛 fix: Phone number as message ID for Evo AI
This commit is contained in:
parent
f4fbc4afc6
commit
b4d1148d6a
@ -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