Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index 62b84d3..8d031e1 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 _0xe495=['save','remove','update','emit','removeListener','length','./whatsappQueue.events'];(function(_0x4d1a22,_0x26d848){var _0x341065=function(_0x1e994c){while(--_0x1e994c){_0x4d1a22['push'](_0x4d1a22['shift']());}};_0x341065(++_0x26d848);}(_0xe495,0x1f0));var _0x5e49=function(_0x46698a,_0x8de1e4){_0x46698a=_0x46698a-0x0;var _0x356db0=_0xe495[_0x46698a];return _0x356db0;};'use strict';var WhatsappQueueEvents=require(_0x5e49('0x0'));var events=[_0x5e49('0x1'),_0x5e49('0x2'),_0x5e49('0x3')];function createListener(_0x4fd504,_0x4eeedd){return function(_0x467e11){_0x4eeedd[_0x5e49('0x4')](_0x4fd504,_0x467e11);};}function removeListener(_0x29c38a,_0x12eead){return function(){WhatsappQueueEvents[_0x5e49('0x5')](_0x29c38a,_0x12eead);};}exports['register']=function(_0x508eeb){for(var _0x1e652e=0x0,_0x45c207=events[_0x5e49('0x6')];_0x1e652e<_0x45c207;_0x1e652e++){var _0x4fc09e=events[_0x1e652e];var _0x417be9=createListener('whatsappQueue:'+_0x4fc09e,_0x508eeb);WhatsappQueueEvents['on'](_0x4fc09e,_0x417be9);}};
\ No newline at end of file