Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index 62b84d3..71ffe53 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x599f=['update','emit','length','whatsappQueue:','./whatsappQueue.events','save','remove'];(function(_0x5ec634,_0xa835b9){var _0x5b94a9=function(_0x3a720e){while(--_0x3a720e){_0x5ec634['push'](_0x5ec634['shift']());}};_0x5b94a9(++_0xa835b9);}(_0x599f,0x74));var _0xf599=function(_0x2d38f2,_0x545682){_0x2d38f2=_0x2d38f2-0x0;var _0x25377c=_0x599f[_0x2d38f2];return _0x25377c;};'use strict';var WhatsappQueueEvents=require(_0xf599('0x0'));var events=[_0xf599('0x1'),_0xf599('0x2'),_0xf599('0x3')];function createListener(_0x15dc57,_0x4008b6){return function(_0x1e74e6){_0x4008b6[_0xf599('0x4')](_0x15dc57,_0x1e74e6);};}function removeListener(_0x43964c,_0x13316a){return function(){WhatsappQueueEvents['removeListener'](_0x43964c,_0x13316a);};}exports['register']=function(_0x47ffea){for(var _0x3afe75=0x0,_0x4b8cb1=events[_0xf599('0x5')];_0x3afe75<_0x4b8cb1;_0x3afe75++){var _0x45f97e=events[_0x3afe75];var _0x3c49e9=createListener(_0xf599('0x6')+_0x45f97e,_0x47ffea);WhatsappQueueEvents['on'](_0x45f97e,_0x3c49e9);}};
\ No newline at end of file
+var _0x8784=['remove','removeListener','register','length','whatsappQueue:'];(function(_0x1c056b,_0x33b870){var _0x1fc51d=function(_0x59f1b8){while(--_0x59f1b8){_0x1c056b['push'](_0x1c056b['shift']());}};_0x1fc51d(++_0x33b870);}(_0x8784,0x96));var _0x4878=function(_0x329664,_0x130748){_0x329664=_0x329664-0x0;var _0x4e346e=_0x8784[_0x329664];return _0x4e346e;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=['save',_0x4878('0x0'),'update'];function createListener(_0x980782,_0x53445d){return function(_0x2e4bc4){_0x53445d['emit'](_0x980782,_0x2e4bc4);};}function removeListener(_0x1cb27e,_0x2e8754){return function(){WhatsappQueueEvents[_0x4878('0x1')](_0x1cb27e,_0x2e8754);};}exports[_0x4878('0x2')]=function(_0x5ea527){for(var _0x2c42ac=0x0,_0x5660b7=events[_0x4878('0x3')];_0x2c42ac<_0x5660b7;_0x2c42ac++){var _0x41248a=events[_0x2c42ac];var _0x2afc7a=createListener(_0x4878('0x4')+_0x41248a,_0x5ea527);WhatsappQueueEvents['on'](_0x41248a,_0x2afc7a);}};
\ No newline at end of file