mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-01-08 13:00:24 -06:00
fix: Fixed problem with fileSha256 appearing when sending a sticker in chatwoot
This commit is contained in:
@@ -1335,9 +1335,14 @@ export class WAStartupService {
|
||||
|
||||
if (settings?.msg_call.trim().length > 0 && call.status == 'offer') {
|
||||
this.logger.verbose('Sending message in call');
|
||||
this.client.sendMessage(call.from, {
|
||||
const msg = await this.client.sendMessage(call.from, {
|
||||
text: settings.msg_call,
|
||||
});
|
||||
|
||||
this.client.ev.emit('messages.upsert', {
|
||||
messages: [msg],
|
||||
type: 'notify',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user