Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / whatsappQueue / whatsappQueue.socket.js
index a18839b..5ce5120 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xaae5=['update','removeListener','length'];(function(_0x50f6e5,_0x151ccb){var _0x5988c5=function(_0x490a93){while(--_0x490a93){_0x50f6e5['push'](_0x50f6e5['shift']());}};_0x5988c5(++_0x151ccb);}(_0xaae5,0xf6));var _0x5aae=function(_0x517aab,_0x1d28a4){_0x517aab=_0x517aab-0x0;var _0x3e1747=_0xaae5[_0x517aab];return _0x3e1747;};'use strict';var WhatsappQueueEvents=require('./whatsappQueue.events');var events=['save','remove',_0x5aae('0x0')];function createListener(_0x15f173,_0x2512f3){return function(_0x4df9b0){_0x2512f3['emit'](_0x15f173,_0x4df9b0);};}function removeListener(_0x14eb06,_0x461eb4){return function(){WhatsappQueueEvents[_0x5aae('0x1')](_0x14eb06,_0x461eb4);};}exports['register']=function(_0x52da9d){for(var _0x251f44=0x0,_0x3df774=events[_0x5aae('0x2')];_0x251f44<_0x3df774;_0x251f44++){var _0x33a897=events[_0x251f44];var _0x5a0d2b=createListener('whatsappQueue:'+_0x33a897,_0x52da9d);WhatsappQueueEvents['on'](_0x33a897,_0x5a0d2b);}};
\ No newline at end of file
+var _0xc447=['whatsappQueue:','./whatsappQueue.events','save','update','emit','removeListener'];(function(_0x59cfa8,_0xee08e3){var _0x39a3a9=function(_0x309883){while(--_0x309883){_0x59cfa8['push'](_0x59cfa8['shift']());}};_0x39a3a9(++_0xee08e3);}(_0xc447,0x16f));var _0x7c44=function(_0xcb24f3,_0x4f5989){_0xcb24f3=_0xcb24f3-0x0;var _0x33c5c3=_0xc447[_0xcb24f3];return _0x33c5c3;};'use strict';var WhatsappQueueEvents=require(_0x7c44('0x0'));var events=[_0x7c44('0x1'),'remove',_0x7c44('0x2')];function createListener(_0x52ee7c,_0x6617cd){return function(_0x25650a){_0x6617cd[_0x7c44('0x3')](_0x52ee7c,_0x25650a);};}function removeListener(_0x4c7d9c,_0x46d62f){return function(){WhatsappQueueEvents[_0x7c44('0x4')](_0x4c7d9c,_0x46d62f);};}exports['register']=function(_0x8d2dfd){for(var _0x2062a8=0x0,_0x3f3cae=events['length'];_0x2062a8<_0x3f3cae;_0x2062a8++){var _0x62ef4=events[_0x2062a8];var _0x2bdc9c=createListener(_0x7c44('0x5')+_0x62ef4,_0x8d2dfd);WhatsappQueueEvents['on'](_0x62ef4,_0x2bdc9c);}};
\ No newline at end of file