Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index dc618b9..8d031e1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa50d=['remove','emit','removeListener','register','length','whatsappQueue:','./whatsappQueue.events'];(function(_0x10a637,_0x19d887){var _0x31f664=function(_0x1bf8e5){while(--_0x1bf8e5){_0x10a637['push'](_0x10a637['shift']());}};_0x31f664(++_0x19d887);}(_0xa50d,0xca));var _0xda50=function(_0x32a486,_0x5c75fd){_0x32a486=_0x32a486-0x0;var _0x329274=_0xa50d[_0x32a486];return _0x329274;};'use strict';var WhatsappQueueEvents=require(_0xda50('0x0'));var events=['save',_0xda50('0x1'),'update'];function createListener(_0x4b962a,_0x251066){return function(_0xf236){_0x251066[_0xda50('0x2')](_0x4b962a,_0xf236);};}function removeListener(_0x5e629c,_0x5749d8){return function(){WhatsappQueueEvents[_0xda50('0x3')](_0x5e629c,_0x5749d8);};}exports[_0xda50('0x4')]=function(_0x220482){for(var _0x416076=0x0,_0xec03f9=events[_0xda50('0x5')];_0x416076<_0xec03f9;_0x416076++){var _0x368128=events[_0x416076];var _0x2c1166=createListener(_0xda50('0x6')+_0x368128,_0x220482);WhatsappQueueEvents['on'](_0x368128,_0x2c1166);}};
\ 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