@dyyxyzz/baileys-mod 6.0.45 → 6.0.46

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.
@@ -651,20 +651,20 @@ const makeMessagesSocket = (config) => {
651
651
  }
652
652
  }
653
653
 
654
- if(!isNewsletter && buttonType && !isStatus && !didPushAdditional) {
655
- const content = getAdditionalNode(buttonType)
656
- const filteredNode = getBinaryNodeFilter(additionalNodes)
657
-
658
- if (filteredNode && additionalNodes) {
659
- stanza.content.push(...additionalNodes)
660
- didPushAdditional = true
661
- }
662
- else if (content && content.length > 0) {
663
- stanza.content.push(...content)
664
- didPushAdditional = true
665
- }
666
- logger.debug({ jid }, 'adding business node')
667
- }
654
+ if(!isNewsletter && buttonType && !isStatus) {
655
+ const content = getAdditionalNode(buttonType)
656
+ const filteredNode = getBinaryNodeFilter(additionalNodes)
657
+
658
+ if (filteredNode && additionalNodes) {
659
+ stanza.content.push(...additionalNodes)
660
+ didPushAdditional = true
661
+ }
662
+ else if (content && content.length > 0 && !didPushAdditional) {
663
+ stanza.content.push(...content)
664
+ didPushAdditional = true
665
+ }
666
+ logger.debug({ jid }, 'adding business node')
667
+ }
668
668
 
669
669
  // KHUSUS NEWSLETTER: Tambah button node
670
670
  if (isNewsletter && buttonType && !didPushAdditional) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyyxyzz/baileys-mod",
3
- "version": "6.0.45",
3
+ "version": "6.0.46",
4
4
  "description": "WhatsApp API Modification",
5
5
  "keywords": [
6
6
  "whatsapp",