mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-11 10:59:37 -06:00
fix: corrigido incompatibilidade no use voise call da wavoip com versao nova da baileys
This commit is contained in:
parent
da6f1bd540
commit
22465c0a56
@ -71,7 +71,7 @@ export const useVoiceCallsBaileys = async (
|
|||||||
|
|
||||||
socket.on('assertSessions', async (jids, force, callback) => {
|
socket.on('assertSessions', async (jids, force, callback) => {
|
||||||
try {
|
try {
|
||||||
const response = await baileys_sock.assertSessions(jids, force);
|
const response = await baileys_sock.assertSessions(jids);
|
||||||
|
|
||||||
callback(response);
|
callback(response);
|
||||||
|
|
||||||
|
|||||||
@ -4561,8 +4561,8 @@ export class BaileysStartupService extends ChannelStartupService {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async baileysAssertSessions(jids: string[], force: boolean) {
|
public async baileysAssertSessions(jids: string[]) {
|
||||||
const response = await this.client.assertSessions(jids, force);
|
const response = await this.client.assertSessions(jids);
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user