mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
fix: Revert pull request #523
This commit is contained in:
parent
d6e19b9273
commit
1379228196
@ -4,6 +4,7 @@
|
|||||||
* Fix audio encoding
|
* Fix audio encoding
|
||||||
* Recovering messages lost
|
* Recovering messages lost
|
||||||
* Adjusts in proxy
|
* Adjusts in proxy
|
||||||
|
* Revert pull request #523
|
||||||
|
|
||||||
# 1.7.2 (2024-04-12 17:31)
|
# 1.7.2 (2024-04-12 17:31)
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ export class TypebotService {
|
|||||||
|
|
||||||
if (session) {
|
if (session) {
|
||||||
if (status === 'closed') {
|
if (status === 'closed') {
|
||||||
const found_session: Session[] = findData.sessions.splice(findData.sessions.indexOf(session), 1);
|
findData.sessions.splice(findData.sessions.indexOf(session), 1);
|
||||||
|
|
||||||
const typebotData = {
|
const typebotData = {
|
||||||
enabled: findData.enabled,
|
enabled: findData.enabled,
|
||||||
@ -68,7 +68,7 @@ export class TypebotService {
|
|||||||
delay_message: findData.delay_message,
|
delay_message: findData.delay_message,
|
||||||
unknown_message: findData.unknown_message,
|
unknown_message: findData.unknown_message,
|
||||||
listening_from_me: findData.listening_from_me,
|
listening_from_me: findData.listening_from_me,
|
||||||
sessions: found_session,
|
sessions: findData.sessions,
|
||||||
};
|
};
|
||||||
|
|
||||||
this.create(instance, typebotData);
|
this.create(instance, typebotData);
|
||||||
@ -106,7 +106,7 @@ export class TypebotService {
|
|||||||
delay_message: findData.delay_message,
|
delay_message: findData.delay_message,
|
||||||
unknown_message: findData.unknown_message,
|
unknown_message: findData.unknown_message,
|
||||||
listening_from_me: findData.listening_from_me,
|
listening_from_me: findData.listening_from_me,
|
||||||
sessions: findData.sessions.splice(findData.sessions.indexOf(session), 1),
|
sessions: findData.sessions,
|
||||||
};
|
};
|
||||||
|
|
||||||
this.create(instance, typebotData);
|
this.create(instance, typebotData);
|
||||||
|
Loading…
Reference in New Issue
Block a user