X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappQueue%2FwhatsappQueue.socket.js;h=5c853ccfc02dab714ad6768aa3984f86d5919199;hb=f6a4a6da2059d78b5a9307c96563cc0d2a15e915;hp=7af8adac97a454a53df766bcf69a09a412a6b6c4;hpb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;p=motion2.git diff --git a/server/api/whatsappQueue/whatsappQueue.socket.js b/server/api/whatsappQueue/whatsappQueue.socket.js index 7af8ada..5c853cc 100644 --- a/server/api/whatsappQueue/whatsappQueue.socket.js +++ b/server/api/whatsappQueue/whatsappQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x239c=['removeListener','register','whatsappQueue:','./whatsappQueue.events','save','remove','update','emit'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x239c,0x7b));var _0xc239=function(_0x2d1bc2,_0x1c1263){_0x2d1bc2=_0x2d1bc2-0x0;var _0x509693=_0x239c[_0x2d1bc2];return _0x509693;};'use strict';var WhatsappQueueEvents=require(_0xc239('0x0'));var events=[_0xc239('0x1'),_0xc239('0x2'),_0xc239('0x3')];function createListener(_0x94d644,_0x13f6fd){return function(_0x19b000){_0x13f6fd[_0xc239('0x4')](_0x94d644,_0x19b000);};}function removeListener(_0x58e01f,_0x5b098a){return function(){WhatsappQueueEvents[_0xc239('0x5')](_0x58e01f,_0x5b098a);};}exports[_0xc239('0x6')]=function(_0x989fc2){for(var _0x377452=0x0,_0x52c41f=events['length'];_0x377452<_0x52c41f;_0x377452++){var _0x53f8c4=events[_0x377452];var _0x58c5b7=createListener(_0xc239('0x7')+_0x53f8c4,_0x989fc2);WhatsappQueueEvents['on'](_0x53f8c4,_0x58c5b7);}}; \ No newline at end of file +var _0x5610=['length','whatsappQueue:','save','emit','removeListener','register'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x5610,0x98));var _0x0561=function(_0x11fc1c,_0xee4019){_0x11fc1c=_0x11fc1c-0x0;var _0x15cf1a=_0x5610[_0x11fc1c];return _0x15cf1a;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=[_0x0561('0x0'),'remove','update'];function createListener(_0x5ce533,_0x298738){return function(_0x339e69){_0x298738[_0x0561('0x1')](_0x5ce533,_0x339e69);};}function removeListener(_0x2e9815,_0x3717e6){return function(){WhatsappQueueEvents[_0x0561('0x2')](_0x2e9815,_0x3717e6);};}exports[_0x0561('0x3')]=function(_0x15ac5f){for(var _0x1981cb=0x0,_0x1c4b0c=events[_0x0561('0x4')];_0x1981cb<_0x1c4b0c;_0x1981cb++){var _0x282c90=events[_0x1981cb];var _0x31adb9=createListener(_0x0561('0x5')+_0x282c90,_0x15ac5f);WhatsappQueueEvents['on'](_0x282c90,_0x31adb9);}}; \ No newline at end of file