sanka-baileyss 2.3.7 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -528,7 +528,7 @@ else {
|
|
|
528
528
|
stanza.content.push(buttonsNode)
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
if (isPrivate) {
|
|
531
|
+
if (AI && isPrivate) {
|
|
532
532
|
if (!stanza.content || !Array.isArray(stanza.content)) {
|
|
533
533
|
stanza.content = []
|
|
534
534
|
}
|
|
@@ -966,7 +966,7 @@ additionalAttributes['media_id'] = mediaHandle
|
|
|
966
966
|
if ('cachedGroupMetadata' in options) {
|
|
967
967
|
console.warn('cachedGroupMetadata in sendMessage are deprecated, now cachedGroupMetadata is part of the socket config.')
|
|
968
968
|
}
|
|
969
|
-
await relayMessage(jid, fullMsg.message, { messageId: fullMsg.key.id, useCachedGroupMetadata: options.useCachedGroupMetadata, additionalAttributes, statusJidList: options.statusJidList, additionalNodes: options.additionalNodes })
|
|
969
|
+
await relayMessage(jid, fullMsg.message, { messageId: fullMsg.key.id, useCachedGroupMetadata: options.useCachedGroupMetadata, additionalAttributes, statusJidList: options.statusJidList, additionalNodes: options.additionalNodes, AI: options.ai })
|
|
970
970
|
if (config.emitOwnEvents) {
|
|
971
971
|
process.nextTick(() => {
|
|
972
972
|
processingMutex.mutex(() => (upsertMessage(fullMsg, 'append')))
|