mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 09:51:24 -06:00
fix: Adjusts to receive contact with more numbers
This commit is contained in:
parent
6727b1cfca
commit
dc432a19a3
@ -1174,7 +1174,6 @@ export class ChatwootService {
|
|||||||
const result = typeKey ? types[typeKey] : undefined;
|
const result = typeKey ? types[typeKey] : undefined;
|
||||||
|
|
||||||
if (typeKey === 'contactMessage') {
|
if (typeKey === 'contactMessage') {
|
||||||
console.log(result);
|
|
||||||
const vCardData = result.split('\n');
|
const vCardData = result.split('\n');
|
||||||
const contactInfo = {};
|
const contactInfo = {};
|
||||||
|
|
||||||
|
@ -1912,8 +1912,6 @@ export class WAStartupService {
|
|||||||
this.logger.verbose('Sending media message');
|
this.logger.verbose('Sending media message');
|
||||||
const generate = await this.prepareMediaMessage(data.mediaMessage);
|
const generate = await this.prepareMediaMessage(data.mediaMessage);
|
||||||
|
|
||||||
console.log('generate', generate);
|
|
||||||
|
|
||||||
return await this.sendMessageWithTyping(
|
return await this.sendMessageWithTyping(
|
||||||
data.number,
|
data.number,
|
||||||
{ ...generate.message },
|
{ ...generate.message },
|
||||||
|
Loading…
Reference in New Issue
Block a user