mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-19 20:02:20 -06:00
fix: Fixed the problem when do not save contacts when receive messages
This commit is contained in:
@@ -211,9 +211,10 @@ export const statusMessageSchema: JSONSchema7 = {
|
||||
description: '"statusJidList" must be an array of numeric strings',
|
||||
},
|
||||
},
|
||||
allContacts: { type: 'boolean', enum: [true, false] },
|
||||
},
|
||||
required: ['type', 'content', 'statusJidList'],
|
||||
...isNotEmpty('type', 'content', 'statusJidList'),
|
||||
required: ['type', 'content'],
|
||||
...isNotEmpty('type', 'content'),
|
||||
},
|
||||
},
|
||||
required: ['statusMessage'],
|
||||
|
||||
Reference in New Issue
Block a user