mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 09:51:24 -06:00
Remove recording of old messages on sync
This commit is contained in:
parent
5e551fee41
commit
2481650028
@ -26,6 +26,7 @@
|
||||
* fixed the problem of not disabling the global webhook by the variable
|
||||
* Adjustment in the recording of temporary files and periodic cleaning
|
||||
* Fix for container mode also work only with files
|
||||
* Remove recording of old messages on sync
|
||||
|
||||
# 1.0.9 (2023-06-10)
|
||||
|
||||
|
@ -691,10 +691,10 @@ export class WAStartupService {
|
||||
|
||||
this.sendDataWebhook(Events.MESSAGES_SET, [...messagesRaw]);
|
||||
|
||||
await this.repository.message.insert(
|
||||
[...messagesRaw],
|
||||
database.SAVE_DATA.OLD_MESSAGE,
|
||||
);
|
||||
// await this.repository.message.insert(
|
||||
// [...messagesRaw],
|
||||
// database.SAVE_DATA.OLD_MESSAGE,
|
||||
// );
|
||||
messages = undefined;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user