mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-18 11:22:21 -06:00
Remove recording of old messages on sync
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user