Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index 7640e27..5623a6f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2a74=['whatsappQueue:','remove','update','emit','removeListener','length'];(function(_0xcbdad1,_0x5c7032){var _0x359da2=function(_0x333e31){while(--_0x333e31){_0xcbdad1['push'](_0xcbdad1['shift']());}};_0x359da2(++_0x5c7032);}(_0x2a74,0x8b));var _0x42a7=function(_0x5c8827,_0x5bc5d7){_0x5c8827=_0x5c8827-0x0;var _0x50ffd5=_0x2a74[_0x5c8827];return _0x50ffd5;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=['save',_0x42a7('0x0'),_0x42a7('0x1')];function createListener(_0xe332ab,_0x4237bc){return function(_0x2c67ad){_0x4237bc[_0x42a7('0x2')](_0xe332ab,_0x2c67ad);};}function removeListener(_0x389b26,_0x4fc419){return function(){WhatsappQueueEvents[_0x42a7('0x3')](_0x389b26,_0x4fc419);};}exports['register']=function(_0x15fce4){for(var _0xf0794c=0x0,_0x17a381=events[_0x42a7('0x4')];_0xf0794c<_0x17a381;_0xf0794c++){var _0x47aaf6=events[_0xf0794c];var _0x1b7f2e=createListener(_0x42a7('0x5')+_0x47aaf6,_0x15fce4);WhatsappQueueEvents['on'](_0x47aaf6,_0x1b7f2e);}};
\ No newline at end of file
+var _0xf9c7=['update','emit','register','whatsappQueue:','save'];(function(_0x2fad0e,_0x37c638){var _0x1f75a1=function(_0x59731a){while(--_0x59731a){_0x2fad0e['push'](_0x2fad0e['shift']());}};_0x1f75a1(++_0x37c638);}(_0xf9c7,0xa4));var _0x7f9c=function(_0x1ec66c,_0x174c9d){_0x1ec66c=_0x1ec66c-0x0;var _0x46ecdc=_0xf9c7[_0x1ec66c];return _0x46ecdc;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=[_0x7f9c('0x0'),'remove',_0x7f9c('0x1')];function createListener(_0x13dae0,_0xd44694){return function(_0xd0903a){_0xd44694[_0x7f9c('0x2')](_0x13dae0,_0xd0903a);};}function removeListener(_0x1b92e2,_0x34d129){return function(){WhatsappQueueEvents['removeListener'](_0x1b92e2,_0x34d129);};}exports[_0x7f9c('0x3')]=function(_0x52bcd0){for(var _0x183f22=0x0,_0x2ac5bf=events['length'];_0x183f22<_0x2ac5bf;_0x183f22++){var _0x5b7009=events[_0x183f22];var _0x36dba5=createListener(_0x7f9c('0x4')+_0x5b7009,_0x52bcd0);WhatsappQueueEvents['on'](_0x5b7009,_0x36dba5);}};
\ No newline at end of file