Skip to content

Commit 6d08162

Browse files
committed
Merge branch 'release/1.1.0-1'
2 parents e05690a + 2481650 commit 6d08162

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* fixed the problem of not disabling the global webhook by the variable
2727
* Adjustment in the recording of temporary files and periodic cleaning
2828
* Fix for container mode also work only with files
29+
* Remove recording of old messages on sync
2930

3031
# 1.0.9 (2023-06-10)
3132

src/whatsapp/services/whatsapp.service.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -691,10 +691,10 @@ export class WAStartupService {
691691

692692
this.sendDataWebhook(Events.MESSAGES_SET, [...messagesRaw]);
693693

694-
await this.repository.message.insert(
695-
[...messagesRaw],
696-
database.SAVE_DATA.OLD_MESSAGE,
697-
);
694+
// await this.repository.message.insert(
695+
// [...messagesRaw],
696+
// database.SAVE_DATA.OLD_MESSAGE,
697+
// );
698698
messages = undefined;
699699
},
700700

0 commit comments

Comments
 (0)