mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 04:02:54 -06:00
fix(chatwoot): fix when receiving/sending messages from whatsapp desktop with ephemeral messages enabled
This commit is contained in:
parent
589dec52a3
commit
3e85af9589
@ -1774,6 +1774,13 @@ export class ChatwootService {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fix when receiving/sending messages from whatsapp desktop with ephemeral messages enabled
|
||||||
|
if (body.message?.ephemeralMessage?.message) {
|
||||||
|
body.message = {
|
||||||
|
...body.message?.ephemeralMessage?.message,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
this.logger.verbose('get conversation message');
|
this.logger.verbose('get conversation message');
|
||||||
|
|
||||||
// Whatsapp to Chatwoot
|
// Whatsapp to Chatwoot
|
||||||
|
Loading…
Reference in New Issue
Block a user