Built motion from commit 25580385.|2.6.2
[motion2.git] / server / api / whatsappAccount / whatsappAccount.socket.js
index 99f323a..ab7f0b0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3f66=['removeListener','whatsappAccount:','save','emit'];(function(_0xc6679d,_0x1b3ee3){var _0x207adf=function(_0x2cd86e){while(--_0x2cd86e){_0xc6679d['push'](_0xc6679d['shift']());}};_0x207adf(++_0x1b3ee3);}(_0x3f66,0x156));var _0x63f6=function(_0x480be1,_0x2798cd){_0x480be1=_0x480be1-0x0;var _0x4cf770=_0x3f66[_0x480be1];return _0x4cf770;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=[_0x63f6('0x0'),'remove','update'];function createListener(_0x2e6d48,_0x1b7043){return function(_0x4189f5){_0x1b7043[_0x63f6('0x1')](_0x2e6d48,_0x4189f5);};}function removeListener(_0x39fe11,_0x58b240){return function(){WhatsappAccountEvents[_0x63f6('0x2')](_0x39fe11,_0x58b240);};}exports['register']=function(_0x4e9d8c){for(var _0x55d204=0x0,_0x1798b2=events['length'];_0x55d204<_0x1798b2;_0x55d204++){var _0x3b03bb=events[_0x55d204];var _0x28cef4=createListener(_0x63f6('0x3')+_0x3b03bb,_0x4e9d8c);WhatsappAccountEvents['on'](_0x3b03bb,_0x28cef4);}};
\ No newline at end of file
+var _0xeab6=['remove','emit','register','length','whatsappAccount:','./whatsappAccount.events','save'];(function(_0x3890f1,_0x14a76d){var _0x9cc383=function(_0x1d2c83){while(--_0x1d2c83){_0x3890f1['push'](_0x3890f1['shift']());}};_0x9cc383(++_0x14a76d);}(_0xeab6,0x9f));var _0x6eab=function(_0x229764,_0x3687f1){_0x229764=_0x229764-0x0;var _0x143dea=_0xeab6[_0x229764];return _0x143dea;};'use strict';var WhatsappAccountEvents=require(_0x6eab('0x0'));var events=[_0x6eab('0x1'),_0x6eab('0x2'),'update'];function createListener(_0x2ff3a5,_0x2e4a38){return function(_0x4c50bc){_0x2e4a38[_0x6eab('0x3')](_0x2ff3a5,_0x4c50bc);};}function removeListener(_0x2077fe,_0x531b8e){return function(){WhatsappAccountEvents['removeListener'](_0x2077fe,_0x531b8e);};}exports[_0x6eab('0x4')]=function(_0x2b7e77){for(var _0x2a21c4=0x0,_0x15c215=events[_0x6eab('0x5')];_0x2a21c4<_0x15c215;_0x2a21c4++){var _0x140820=events[_0x2a21c4];var _0x3ffc54=createListener(_0x6eab('0x6')+_0x140820,_0x2b7e77);WhatsappAccountEvents['on'](_0x140820,_0x3ffc54);}};
\ No newline at end of file