Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / whatsappAccount / whatsappAccount.socket.js
index a656f34..0f2f323 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x903f=['emit','removeListener','length','whatsappAccount:','save','update'];(function(_0x216008,_0x2d1023){var _0x4d384f=function(_0x3fd7e2){while(--_0x3fd7e2){_0x216008['push'](_0x216008['shift']());}};_0x4d384f(++_0x2d1023);}(_0x903f,0x64));var _0xf903=function(_0x99fb43,_0x2994b0){_0x99fb43=_0x99fb43-0x0;var _0x5bfe3e=_0x903f[_0x99fb43];return _0x5bfe3e;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=[_0xf903('0x0'),'remove',_0xf903('0x1')];function createListener(_0x32726f,_0x4606c9){return function(_0x55b615){_0x4606c9[_0xf903('0x2')](_0x32726f,_0x55b615);};}function removeListener(_0x4803c2,_0x195af9){return function(){WhatsappAccountEvents[_0xf903('0x3')](_0x4803c2,_0x195af9);};}exports['register']=function(_0x36fdac){for(var _0x20333c=0x0,_0x1a9a45=events[_0xf903('0x4')];_0x20333c<_0x1a9a45;_0x20333c++){var _0x13b508=events[_0x20333c];var _0x56da4d=createListener(_0xf903('0x5')+_0x13b508,_0x36fdac);WhatsappAccountEvents['on'](_0x13b508,_0x56da4d);}};
\ No newline at end of file
+var _0x613b=['whatsappAccount:','save','remove','update','emit','register','length'];(function(_0x11cc28,_0x4a44f1){var _0x51b66d=function(_0x5b9365){while(--_0x5b9365){_0x11cc28['push'](_0x11cc28['shift']());}};_0x51b66d(++_0x4a44f1);}(_0x613b,0x14a));var _0xb613=function(_0x140474,_0x3615b4){_0x140474=_0x140474-0x0;var _0xe549ff=_0x613b[_0x140474];return _0xe549ff;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=[_0xb613('0x0'),_0xb613('0x1'),_0xb613('0x2')];function createListener(_0x2efdaf,_0x5dbcbd){return function(_0x294fc6){_0x5dbcbd[_0xb613('0x3')](_0x2efdaf,_0x294fc6);};}function removeListener(_0x1fb43e,_0xc0e15a){return function(){WhatsappAccountEvents['removeListener'](_0x1fb43e,_0xc0e15a);};}exports[_0xb613('0x4')]=function(_0x380e8d){for(var _0x23a52e=0x0,_0x2799a4=events[_0xb613('0x5')];_0x23a52e<_0x2799a4;_0x23a52e++){var _0x35e8b3=events[_0x23a52e];var _0x1a245f=createListener(_0xb613('0x6')+_0x35e8b3,_0x380e8d);WhatsappAccountEvents['on'](_0x35e8b3,_0x1a245f);}};
\ No newline at end of file