Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index 62b84d3..015f052 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 _0x1544=['emit','length','whatsappQueue:','save','remove','update'];(function(_0x465a55,_0x531bc0){var _0x1a90a0=function(_0x5c6cb5){while(--_0x5c6cb5){_0x465a55['push'](_0x465a55['shift']());}};_0x1a90a0(++_0x531bc0);}(_0x1544,0x99));var _0x4154=function(_0xf2ee56,_0x565642){_0xf2ee56=_0xf2ee56-0x0;var _0x2b9bc9=_0x1544[_0xf2ee56];return _0x2b9bc9;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=[_0x4154('0x0'),_0x4154('0x1'),_0x4154('0x2')];function createListener(_0x37c848,_0x5b61f5){return function(_0xea10d1){_0x5b61f5[_0x4154('0x3')](_0x37c848,_0xea10d1);};}function removeListener(_0x4c852c,_0x5666f0){return function(){WhatsappQueueEvents['removeListener'](_0x4c852c,_0x5666f0);};}exports['register']=function(_0x31cf4c){for(var _0x8093=0x0,_0x487d91=events[_0x4154('0x4')];_0x8093<_0x487d91;_0x8093++){var _0x451ea7=events[_0x8093];var _0xc26652=createListener(_0x4154('0x5')+_0x451ea7,_0x31cf4c);WhatsappQueueEvents['on'](_0x451ea7,_0xc26652);}};
\ No newline at end of file