feat: add custom patchMsg function + remove patch for btns

This commit is contained in:
Adhiraj Singh
2022-11-12 19:31:11 +05:30
parent 190e6d6bd6
commit b2aa51a13d
4 changed files with 39 additions and 55 deletions

View File

@@ -50,6 +50,7 @@ export const DEFAULT_CONNECTION_CONFIG: SocketConfig = {
auth: undefined as any,
markOnlineOnConnect: true,
syncFullHistory: false,
patchMessageBeforeSending: msg => msg,
shouldSyncHistoryMessage: () => true,
shouldIgnoreJid: () => false,
linkPreviewImageThumbnailWidth: 192,