diff --git a/src/Socket/index.ts b/src/Socket/index.ts index 8862579b..ab00b6ee 100644 --- a/src/Socket/index.ts +++ b/src/Socket/index.ts @@ -39,13 +39,6 @@ const makeWASocket = (config: UserFacingSocketConfig) => { ...config } - // 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 - } - return makeCommunitiesSocket(newConfig) }