X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappAccount%2FwhatsappAccount.socket.js;h=91a44aafb86cf57974dbc3d0650d8e2a238c5916;hb=ed368fdfe923471c0749d5720e7df57649e4ed09;hp=0426c3897f78db97e4546b37a34f2e34b8f119d0;hpb=91492537a7b94b14914d0db658458118de1ea819;p=motion2.git diff --git a/server/api/whatsappAccount/whatsappAccount.socket.js b/server/api/whatsappAccount/whatsappAccount.socket.js index 0426c38..91a44aa 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 _0x2ec7=['./whatsappAccount.events','save','remove','update','emit','removeListener','register'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x2ec7,0xcb));var _0x72ec=function(_0x4b055c,_0x4b870b){_0x4b055c=_0x4b055c-0x0;var _0x4b62bb=_0x2ec7[_0x4b055c];return _0x4b62bb;};'use strict';var WhatsappAccountEvents=require(_0x72ec('0x0'));var events=[_0x72ec('0x1'),_0x72ec('0x2'),_0x72ec('0x3')];function createListener(_0x19abf0,_0x4437c0){return function(_0x581593){_0x4437c0[_0x72ec('0x4')](_0x19abf0,_0x581593);};}function removeListener(_0x189f2a,_0x5a336a){return function(){WhatsappAccountEvents[_0x72ec('0x5')](_0x189f2a,_0x5a336a);};}exports[_0x72ec('0x6')]=function(_0x12c08b){for(var _0x42d1ae=0x0,_0x451652=events['length'];_0x42d1ae<_0x451652;_0x42d1ae++){var _0x4d8330=events[_0x42d1ae];var _0x6b9e5a=createListener('whatsappAccount:'+_0x4d8330,_0x12c08b);WhatsappAccountEvents['on'](_0x4d8330,_0x6b9e5a);}}; \ No newline at end of file +var _0x4ad9=['register','length','whatsappAccount:','./whatsappAccount.events','remove','update'];(function(_0x13b56f,_0x2804c9){var _0x18cc28=function(_0x491e46){while(--_0x491e46){_0x13b56f['push'](_0x13b56f['shift']());}};_0x18cc28(++_0x2804c9);}(_0x4ad9,0x10b));var _0x94ad=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x4ad9[_0x4b369d];return _0x571a98;};'use strict';var WhatsappAccountEvents=require(_0x94ad('0x0'));var events=['save',_0x94ad('0x1'),_0x94ad('0x2')];function createListener(_0x301cf9,_0xdcea40){return function(_0x12d5d4){_0xdcea40['emit'](_0x301cf9,_0x12d5d4);};}function removeListener(_0x5953c3,_0x10f341){return function(){WhatsappAccountEvents['removeListener'](_0x5953c3,_0x10f341);};}exports[_0x94ad('0x3')]=function(_0x547199){for(var _0x2840f7=0x0,_0x30997f=events[_0x94ad('0x4')];_0x2840f7<_0x30997f;_0x2840f7++){var _0x2490ab=events[_0x2840f7];var _0x7b2220=createListener(_0x94ad('0x5')+_0x2490ab,_0x547199);WhatsappAccountEvents['on'](_0x2490ab,_0x7b2220);}}; \ No newline at end of file