Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index bd92831..47f393d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf284=['./whatsappQueue.events','save','update','emit','removeListener','length','whatsappQueue:'];(function(_0x264c58,_0x3c5bb1){var _0x5db60b=function(_0x4dc1a5){while(--_0x4dc1a5){_0x264c58['push'](_0x264c58['shift']());}};_0x5db60b(++_0x3c5bb1);}(_0xf284,0x13b));var _0x4f28=function(_0x4c68d8,_0x57971c){_0x4c68d8=_0x4c68d8-0x0;var _0x4cf407=_0xf284[_0x4c68d8];return _0x4cf407;};'use strict';var WhatsappQueueEvents=require(_0x4f28('0x0'));var events=[_0x4f28('0x1'),'remove',_0x4f28('0x2')];function createListener(_0x1b6024,_0x339874){return function(_0x23a57c){_0x339874[_0x4f28('0x3')](_0x1b6024,_0x23a57c);};}function removeListener(_0x3ad400,_0x4ed7d2){return function(){WhatsappQueueEvents[_0x4f28('0x4')](_0x3ad400,_0x4ed7d2);};}exports['register']=function(_0x13a3fa){for(var _0x3b3d56=0x0,_0x152ae5=events[_0x4f28('0x5')];_0x3b3d56<_0x152ae5;_0x3b3d56++){var _0x49babc=events[_0x3b3d56];var _0xda1540=createListener(_0x4f28('0x6')+_0x49babc,_0x13a3fa);WhatsappQueueEvents['on'](_0x49babc,_0xda1540);}};
\ No newline at end of file
+var _0x13b3=['register','./whatsappQueue.events','save'];(function(_0x13a0fb,_0x3ea601){var _0x1526d3=function(_0x528702){while(--_0x528702){_0x13a0fb['push'](_0x13a0fb['shift']());}};_0x1526d3(++_0x3ea601);}(_0x13b3,0x13c));var _0x313b=function(_0x4fc80b,_0xfe1b3d){_0x4fc80b=_0x4fc80b-0x0;var _0x119dba=_0x13b3[_0x4fc80b];return _0x119dba;};'use strict';var WhatsappQueueEvents=require(_0x313b('0x0'));var events=[_0x313b('0x1'),'remove','update'];function createListener(_0x43f5ba,_0x350b50){return function(_0x36d62c){_0x350b50['emit'](_0x43f5ba,_0x36d62c);};}function removeListener(_0x521950,_0x42bae5){return function(){WhatsappQueueEvents['removeListener'](_0x521950,_0x42bae5);};}exports[_0x313b('0x2')]=function(_0x629149){for(var _0x33ee9a=0x0,_0x308e78=events['length'];_0x33ee9a<_0x308e78;_0x33ee9a++){var _0x2fea37=events[_0x33ee9a];var _0x12fa91=createListener('whatsappQueue:'+_0x2fea37,_0x629149);WhatsappQueueEvents['on'](_0x2fea37,_0x12fa91);}};
\ No newline at end of file