mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41: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,
|
||||
contactMessage: msg.contactMessage?.vcard,
|
||||
contactsArrayMessage: msg.contactsArrayMessage,
|
||||
locationMessage:
|
||||
msg.locationMessage?.degreesLatitude +
|
||||
',' +
|
||||
msg.locationMessage?.degreesLongitude,
|
||||
locationMessage: !msg.protocolMessage
|
||||
? msg.locationMessage?.degreesLatitude +
|
||||
',' +
|
||||
msg.locationMessage?.degreesLongitude
|
||||
: undefined,
|
||||
};
|
||||
|
||||
this.logger.verbose('type message: ' + types);
|
||||
|
Loading…
Reference in New Issue
Block a user