connection: update headers and other things

This commit is contained in:
Rajeh Taher
2025-10-15 17:52:52 +03:00
parent 48b0cb4bc2
commit c84b20703c
3 changed files with 9 additions and 5 deletions
+1
View File
@@ -11,6 +11,7 @@ const makeWASocket = (config: UserFacingSocketConfig) => {
// If the user hasn't provided their own history sync function,
// let's create a default one that respects the syncFullHistory flag.
// TODO: Change
if (config.shouldSyncHistoryMessage === undefined) {
newConfig.shouldSyncHistoryMessage = () => !!newConfig.syncFullHistory
}