Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / whatsappAccount / whatsappAccount.socket.js
index 9f1693b..a656f34 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3d70=['removeListener','length','whatsappAccount:','save','remove','emit'];(function(_0x3da144,_0x578cbd){var _0x13fdc7=function(_0x2d2919){while(--_0x2d2919){_0x3da144['push'](_0x3da144['shift']());}};_0x13fdc7(++_0x578cbd);}(_0x3d70,0x1ad));var _0x03d7=function(_0x92713a,_0x68f8b0){_0x92713a=_0x92713a-0x0;var _0x1893e1=_0x3d70[_0x92713a];return _0x1893e1;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=[_0x03d7('0x0'),_0x03d7('0x1'),'update'];function createListener(_0x257e78,_0x320217){return function(_0x2229d9){_0x320217[_0x03d7('0x2')](_0x257e78,_0x2229d9);};}function removeListener(_0x2215e4,_0x12c695){return function(){WhatsappAccountEvents[_0x03d7('0x3')](_0x2215e4,_0x12c695);};}exports['register']=function(_0x29c77e){for(var _0x297332=0x0,_0x2e1cc9=events[_0x03d7('0x4')];_0x297332<_0x2e1cc9;_0x297332++){var _0x888e7a=events[_0x297332];var _0x21e26c=createListener(_0x03d7('0x5')+_0x888e7a,_0x29c77e);WhatsappAccountEvents['on'](_0x888e7a,_0x21e26c);}};
\ No newline at end of file
+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