meta-horizonn 1.3.8 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meta-horizonn",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "Facebook-Chat-API Protect and Deploy by Kanzu and HZI Team. Kem is redeveloped. Rename package is Meta Horizonn and package supported ChatBot Messenger.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/listenMqtt.js CHANGED
@@ -837,8 +837,6 @@ function markDelivery(ctx, api, threadID, messageID) {
837
837
  }
838
838
  }
839
839
 
840
-
841
-
842
840
  module.exports = function(defaultFuncs, api, ctx) {
843
841
  var globalCallback = identity;
844
842
  var okeoke;
@@ -853,9 +851,9 @@ module.exports = function(defaultFuncs, api, ctx) {
853
851
  .then(utils.parseAndCheckLogin(ctx, defaultFuncs))
854
852
  .then((resData) => {
855
853
  if (utils.getType(resData) != "Array") {
856
- if (resData.request.uri && resData.request.uri.href.includes("https://www.facebook.com/checkpoint/")) {
857
- if (resData.request.uri.href.includes('601051028565049')) {
858
- return global.Fca.BypassAutomationNotification(undefined, ctx.jar, ctx.globalOptions, undefined ,process.env.UID)
854
+ if (okeoke.request.uri && okeoke.request.uri.href.includes("https://www.facebook.com/checkpoint/")) {
855
+ if (okeoke.request.uri.href.includes('601051028565049')) {
856
+ return global.Fca.BypassAutomationNotification(undefined, ctx.jar, ctx.globalOptions, undefined, process.env.UID)
859
857
  }
860
858
  }
861
859
  if (global.Fca.Require.FastConfig.AutoLogin) {