add emitOwnEvents

This commit is contained in:
Adhiraj Singh
2021-10-01 13:46:19 +05:30
parent b3c1063a3f
commit e84002d807
4 changed files with 13 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ export const DEFAULT_CONNECTION_CONFIG: SocketConfig = {
keepAliveIntervalMs: 25_000,
logger: P().child({ class: 'baileys' }),
printQRInTerminal: false,
emitOwnEvents: true
}
export const MEDIA_PATH_MAP: { [T in MediaType]: string } = {