mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: allow ignoring jids
This commit is contained in:
@@ -70,6 +70,13 @@ export type SocketConfig = {
|
||||
* */
|
||||
generateHighQualityLinkPreview: boolean
|
||||
|
||||
/**
|
||||
* Returns if a jid should be ignored,
|
||||
* no event for that jid will be triggered.
|
||||
* Messages from that jid will also not be decrypted
|
||||
* */
|
||||
shouldIgnoreJid: (jid: string) => boolean | undefined
|
||||
|
||||
/** verify app state MACs */
|
||||
appStateMacVerification: {
|
||||
patch: boolean
|
||||
|
||||
Reference in New Issue
Block a user