Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / whatsappAccount / whatsappAccount.socket.js
index 9f1693b..283cd31 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 _0x1881=['save','remove','update','removeListener','register','whatsappAccount:','./whatsappAccount.events'];(function(_0x1deb03,_0xd05ad8){var _0x189fe7=function(_0x321225){while(--_0x321225){_0x1deb03['push'](_0x1deb03['shift']());}};_0x189fe7(++_0xd05ad8);}(_0x1881,0x110));var _0x1188=function(_0x55c485,_0x3fe77e){_0x55c485=_0x55c485-0x0;var _0x6bb521=_0x1881[_0x55c485];return _0x6bb521;};'use strict';var WhatsappAccountEvents=require(_0x1188('0x0'));var events=[_0x1188('0x1'),_0x1188('0x2'),_0x1188('0x3')];function createListener(_0x5c508c,_0x22f80f){return function(_0x338922){_0x22f80f['emit'](_0x5c508c,_0x338922);};}function removeListener(_0xe0a136,_0x15c45b){return function(){WhatsappAccountEvents[_0x1188('0x4')](_0xe0a136,_0x15c45b);};}exports[_0x1188('0x5')]=function(_0x34eb09){for(var _0x3f0591=0x0,_0x5beeab=events['length'];_0x3f0591<_0x5beeab;_0x3f0591++){var _0x337a4c=events[_0x3f0591];var _0x1597b7=createListener(_0x1188('0x6')+_0x337a4c,_0x34eb09);WhatsappAccountEvents['on'](_0x337a4c,_0x1597b7);}};
\ No newline at end of file