Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / whatsappAccount / whatsappAccount.socket.js
index 9f1693b..beb92bf 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 _0x5d82=['register','length','whatsappAccount:','./whatsappAccount.events','save','remove','update','emit'];(function(_0x212ffb,_0x292bbb){var _0x111b03=function(_0x293296){while(--_0x293296){_0x212ffb['push'](_0x212ffb['shift']());}};_0x111b03(++_0x292bbb);}(_0x5d82,0xb3));var _0x25d8=function(_0xffb9ba,_0x9c1d04){_0xffb9ba=_0xffb9ba-0x0;var _0x2b1e20=_0x5d82[_0xffb9ba];return _0x2b1e20;};'use strict';var WhatsappAccountEvents=require(_0x25d8('0x0'));var events=[_0x25d8('0x1'),_0x25d8('0x2'),_0x25d8('0x3')];function createListener(_0x10f0fd,_0x5d0277){return function(_0x59264c){_0x5d0277[_0x25d8('0x4')](_0x10f0fd,_0x59264c);};}function removeListener(_0x144237,_0x3f0b95){return function(){WhatsappAccountEvents['removeListener'](_0x144237,_0x3f0b95);};}exports[_0x25d8('0x5')]=function(_0x1b40e3){for(var _0xacd28f=0x0,_0xcfec92=events[_0x25d8('0x6')];_0xacd28f<_0xcfec92;_0xacd28f++){var _0x5c7f4d=events[_0xacd28f];var _0x354ff4=createListener(_0x25d8('0x7')+_0x5c7f4d,_0x1b40e3);WhatsappAccountEvents['on'](_0x5c7f4d,_0x354ff4);}};
\ No newline at end of file