X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappQueue%2FwhatsappQueue.socket.js;h=eead02357acf6dc17688d96e3c57a579dfd737cd;hb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;hp=007fcb7836d697814175f05a10b96584465001e2;hpb=ed368fdfe923471c0749d5720e7df57649e4ed09;p=motion2.git diff --git a/server/api/whatsappQueue/whatsappQueue.socket.js b/server/api/whatsappQueue/whatsappQueue.socket.js index 007fcb7..eead023 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 _0x64b0=['register','whatsappQueue:','remove','update'];(function(_0x226e48,_0x4f24e7){var _0x107fe0=function(_0x26bfe9){while(--_0x26bfe9){_0x226e48['push'](_0x226e48['shift']());}};_0x107fe0(++_0x4f24e7);}(_0x64b0,0x86));var _0x064b=function(_0x11a522,_0x17a7ec){_0x11a522=_0x11a522-0x0;var _0x34baf1=_0x64b0[_0x11a522];return _0x34baf1;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=['save',_0x064b('0x0'),_0x064b('0x1')];function createListener(_0x193b05,_0x45c0e1){return function(_0x337055){_0x45c0e1['emit'](_0x193b05,_0x337055);};}function removeListener(_0x4bfc23,_0x2caa4e){return function(){WhatsappQueueEvents['removeListener'](_0x4bfc23,_0x2caa4e);};}exports[_0x064b('0x2')]=function(_0x434698){for(var _0x31ddca=0x0,_0x5a0d8f=events['length'];_0x31ddca<_0x5a0d8f;_0x31ddca++){var _0x5a15f7=events[_0x31ddca];var _0x1cd224=createListener(_0x064b('0x3')+_0x5a15f7,_0x434698);WhatsappQueueEvents['on'](_0x5a15f7,_0x1cd224);}}; \ No newline at end of file +var _0x3f30=['remove','update','emit','removeListener','register','./whatsappQueue.events'];(function(_0x160c73,_0x2ee678){var _0xd9302=function(_0x169454){while(--_0x169454){_0x160c73['push'](_0x160c73['shift']());}};_0xd9302(++_0x2ee678);}(_0x3f30,0xd1));var _0x03f3=function(_0x138792,_0x2cd298){_0x138792=_0x138792-0x0;var _0x9948c5=_0x3f30[_0x138792];return _0x9948c5;};'use strict';var WhatsappQueueEvents=require(_0x03f3('0x0'));var events=['save',_0x03f3('0x1'),_0x03f3('0x2')];function createListener(_0x22a122,_0x405d7f){return function(_0x264c44){_0x405d7f[_0x03f3('0x3')](_0x22a122,_0x264c44);};}function removeListener(_0x4afee5,_0x4cd625){return function(){WhatsappQueueEvents[_0x03f3('0x4')](_0x4afee5,_0x4cd625);};}exports[_0x03f3('0x5')]=function(_0x3b9c7a){for(var _0x563f52=0x0,_0x5a6f54=events['length'];_0x563f52<_0x5a6f54;_0x563f52++){var _0x3ee5a7=events[_0x563f52];var _0x5a1823=createListener('whatsappQueue:'+_0x3ee5a7,_0x3b9c7a);WhatsappQueueEvents['on'](_0x3ee5a7,_0x5a1823);}}; \ No newline at end of file