mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 09:51:24 -06:00
fix: Solved receive location in chatwoot
This commit is contained in:
parent
14529f2c35
commit
f0d8c2d095
@ -1187,10 +1187,11 @@ export class ChatwootService {
|
|||||||
audioMessage: msg.audioMessage?.caption,
|
audioMessage: msg.audioMessage?.caption,
|
||||||
contactMessage: msg.contactMessage?.vcard,
|
contactMessage: msg.contactMessage?.vcard,
|
||||||
contactsArrayMessage: msg.contactsArrayMessage,
|
contactsArrayMessage: msg.contactsArrayMessage,
|
||||||
locationMessage:
|
locationMessage: !msg.protocolMessage
|
||||||
msg.locationMessage?.degreesLatitude +
|
? msg.locationMessage?.degreesLatitude +
|
||||||
',' +
|
',' +
|
||||||
msg.locationMessage?.degreesLongitude,
|
msg.locationMessage?.degreesLongitude
|
||||||
|
: undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
this.logger.verbose('type message: ' + types);
|
this.logger.verbose('type message: ' + types);
|
||||||
|
Loading…
Reference in New Issue
Block a user