connection: update headers and other things
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user