X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappQueue%2FwhatsappQueue.socket.js;fp=server%2Fapi%2FwhatsappQueue%2FwhatsappQueue.socket.js;h=32d3f670faf796dd552cd7ef080048b950ca5a36;hb=b8feeab5a72cbb7651a1c603fc767034cd5922cc;hp=55ffacf313fbc2884659a93a07148384a0a91c57;hpb=5584754b2aa104a57907f7aa392d8c07dfdc6150;p=motion2.git diff --git a/server/api/whatsappQueue/whatsappQueue.socket.js b/server/api/whatsappQueue/whatsappQueue.socket.js index 55ffacf..32d3f67 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 _0x6cc4=['./whatsappQueue.events','update','emit','length','whatsappQueue:'];(function(_0x782da8,_0x512476){var _0xd3db03=function(_0x430689){while(--_0x430689){_0x782da8['push'](_0x782da8['shift']());}};_0xd3db03(++_0x512476);}(_0x6cc4,0x163));var _0x46cc=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0x6cc4[_0x21a9d9];return _0x46adce;};'use strict';var WhatsappQueueEvents=require(_0x46cc('0x0'));var events=['save','remove',_0x46cc('0x1')];function createListener(_0x47fa61,_0x3976ab){return function(_0x31eb34){_0x3976ab[_0x46cc('0x2')](_0x47fa61,_0x31eb34);};}function removeListener(_0x1d7df7,_0x33f9f5){return function(){WhatsappQueueEvents['removeListener'](_0x1d7df7,_0x33f9f5);};}exports['register']=function(_0xc36dcf){for(var _0x53a99c=0x0,_0x33a69b=events[_0x46cc('0x3')];_0x53a99c<_0x33a69b;_0x53a99c++){var _0x283f2d=events[_0x53a99c];var _0x39d5db=createListener(_0x46cc('0x4')+_0x283f2d,_0xc36dcf);WhatsappQueueEvents['on'](_0x283f2d,_0x39d5db);}}; \ No newline at end of file +var _0x7774=['length','whatsappQueue:','./whatsappQueue.events','save','remove','update','emit'];(function(_0x2722bc,_0x221dd9){var _0x5ac515=function(_0x387030){while(--_0x387030){_0x2722bc['push'](_0x2722bc['shift']());}};_0x5ac515(++_0x221dd9);}(_0x7774,0x12f));var _0x4777=function(_0x3cb6dc,_0x120dd3){_0x3cb6dc=_0x3cb6dc-0x0;var _0x47ec89=_0x7774[_0x3cb6dc];return _0x47ec89;};'use strict';var WhatsappQueueEvents=require(_0x4777('0x0'));var events=[_0x4777('0x1'),_0x4777('0x2'),_0x4777('0x3')];function createListener(_0x1d473e,_0x563052){return function(_0x25a5b2){_0x563052[_0x4777('0x4')](_0x1d473e,_0x25a5b2);};}function removeListener(_0x4ab04c,_0x56bff9){return function(){WhatsappQueueEvents['removeListener'](_0x4ab04c,_0x56bff9);};}exports['register']=function(_0x316e66){for(var _0x1ff21e=0x0,_0x16f179=events[_0x4777('0x5')];_0x1ff21e<_0x16f179;_0x1ff21e++){var _0x317f24=events[_0x1ff21e];var _0xe4fdb9=createListener(_0x4777('0x6')+_0x317f24,_0x316e66);WhatsappQueueEvents['on'](_0x317f24,_0xe4fdb9);}}; \ No newline at end of file