X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappAccount%2FwhatsappAccount.socket.js;h=443574b209f41ecde59d8345587975160a0cf2a0;hb=de6f27d8824ffb29cbf937050a12378469af9a53;hp=da53a80b7874bf9b0ac270b1088fe0502dfcfcda;hpb=6154c6759c55056c3b23ea2e885ab9e551bbdf0c;p=motion2.git diff --git a/server/api/whatsappAccount/whatsappAccount.socket.js b/server/api/whatsappAccount/whatsappAccount.socket.js index da53a80..443574b 100644 --- a/server/api/whatsappAccount/whatsappAccount.socket.js +++ b/server/api/whatsappAccount/whatsappAccount.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xeb86=['removeListener','register','whatsappAccount:','save','update','emit'];(function(_0x23a16b,_0x272dce){var _0x4aa838=function(_0x5a8220){while(--_0x5a8220){_0x23a16b['push'](_0x23a16b['shift']());}};_0x4aa838(++_0x272dce);}(_0xeb86,0x159));var _0x6eb8=function(_0x4117e0,_0x49da08){_0x4117e0=_0x4117e0-0x0;var _0x28ab26=_0xeb86[_0x4117e0];return _0x28ab26;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=[_0x6eb8('0x0'),'remove',_0x6eb8('0x1')];function createListener(_0x4f5d31,_0x4db5af){return function(_0x457efc){_0x4db5af[_0x6eb8('0x2')](_0x4f5d31,_0x457efc);};}function removeListener(_0x3be2be,_0x1b72dd){return function(){WhatsappAccountEvents[_0x6eb8('0x3')](_0x3be2be,_0x1b72dd);};}exports[_0x6eb8('0x4')]=function(_0x19b073){for(var _0x2502f0=0x0,_0x249646=events['length'];_0x2502f0<_0x249646;_0x2502f0++){var _0x3cb36f=events[_0x2502f0];var _0x1012db=createListener(_0x6eb8('0x5')+_0x3cb36f,_0x19b073);WhatsappAccountEvents['on'](_0x3cb36f,_0x1012db);}}; \ No newline at end of file +var _0x9928=['./whatsappAccount.events','update','emit','removeListener','register'];(function(_0x3b4374,_0x5ad6d2){var _0x30eec7=function(_0x5a1943){while(--_0x5a1943){_0x3b4374['push'](_0x3b4374['shift']());}};_0x30eec7(++_0x5ad6d2);}(_0x9928,0x14f));var _0x8992=function(_0x24a711,_0x2c44e7){_0x24a711=_0x24a711-0x0;var _0x24dad5=_0x9928[_0x24a711];return _0x24dad5;};'use strict';var WhatsappAccountEvents=require(_0x8992('0x0'));var events=['save','remove',_0x8992('0x1')];function createListener(_0x42d570,_0x2b4af2){return function(_0x7f8b8a){_0x2b4af2[_0x8992('0x2')](_0x42d570,_0x7f8b8a);};}function removeListener(_0x53f13d,_0x462e7f){return function(){WhatsappAccountEvents[_0x8992('0x3')](_0x53f13d,_0x462e7f);};}exports[_0x8992('0x4')]=function(_0x5afe38){for(var _0x12b126=0x0,_0x151113=events['length'];_0x12b126<_0x151113;_0x12b126++){var _0x3291e3=events[_0x12b126];var _0xf8ba94=createListener('whatsappAccount:'+_0x3291e3,_0x5afe38);WhatsappAccountEvents['on'](_0x3291e3,_0xf8ba94);}}; \ No newline at end of file