X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappInteraction%2FwhatsappInteraction.socket.js;h=1ae85a2fa845c544cfa440b6431765a8866056f1;hb=6b8dca8de1a6b807be7e36077511bb032e7382e5;hp=2a59277d76a451d3ce4d61b596b71b8bcbe615ce;hpb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;p=motion2.git diff --git a/server/api/whatsappInteraction/whatsappInteraction.socket.js b/server/api/whatsappInteraction/whatsappInteraction.socket.js index 2a59277..1ae85a2 100644 --- a/server/api/whatsappInteraction/whatsappInteraction.socket.js +++ b/server/api/whatsappInteraction/whatsappInteraction.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0c52=['length','whatsappInteraction:','./whatsappInteraction.events','removeListener'];(function(_0x5c6a1a,_0x407cd9){var _0x3e2f16=function(_0x3eba39){while(--_0x3eba39){_0x5c6a1a['push'](_0x5c6a1a['shift']());}};_0x3e2f16(++_0x407cd9);}(_0x0c52,0x1d2));var _0x20c5=function(_0x5d99f8,_0x4bd840){_0x5d99f8=_0x5d99f8-0x0;var _0x4440c5=_0x0c52[_0x5d99f8];return _0x4440c5;};'use strict';var WhatsappInteractionEvents=require(_0x20c5('0x0'));var events=['save','remove','update'];function createListener(_0x42dc11,_0x50008b){return function(_0x4ffc7f){_0x50008b['emit'](_0x42dc11,_0x4ffc7f);};}function removeListener(_0x293629,_0x3caa56){return function(){WhatsappInteractionEvents[_0x20c5('0x1')](_0x293629,_0x3caa56);};}exports['register']=function(_0x34ee90){for(var _0x192631=0x0,_0x33bed6=events[_0x20c5('0x2')];_0x192631<_0x33bed6;_0x192631++){var _0x41fa08=events[_0x192631];var _0x4649ab=createListener(_0x20c5('0x3')+_0x41fa08,_0x34ee90);WhatsappInteractionEvents['on'](_0x41fa08,_0x4649ab);}}; \ No newline at end of file +var _0x0b5a=['length','whatsappInteraction:','./whatsappInteraction.events','save','remove','emit','removeListener'];(function(_0x2962b4,_0x4b0786){var _0x411b7d=function(_0x363aad){while(--_0x363aad){_0x2962b4['push'](_0x2962b4['shift']());}};_0x411b7d(++_0x4b0786);}(_0x0b5a,0x1f3));var _0xa0b5=function(_0x3f6367,_0x5eef68){_0x3f6367=_0x3f6367-0x0;var _0x5d93ea=_0x0b5a[_0x3f6367];return _0x5d93ea;};'use strict';var WhatsappInteractionEvents=require(_0xa0b5('0x0'));var events=[_0xa0b5('0x1'),_0xa0b5('0x2'),'update'];function createListener(_0x5a5396,_0x28c91a){return function(_0x123a08){_0x28c91a[_0xa0b5('0x3')](_0x5a5396,_0x123a08);};}function removeListener(_0x4f891b,_0x45d650){return function(){WhatsappInteractionEvents[_0xa0b5('0x4')](_0x4f891b,_0x45d650);};}exports['register']=function(_0x3b5bc8){for(var _0x1cd6d2=0x0,_0x2a1049=events[_0xa0b5('0x5')];_0x1cd6d2<_0x2a1049;_0x1cd6d2++){var _0x40b9d6=events[_0x1cd6d2];var _0x4927e1=createListener(_0xa0b5('0x6')+_0x40b9d6,_0x3b5bc8);WhatsappInteractionEvents['on'](_0x40b9d6,_0x4927e1);}}; \ No newline at end of file