X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappInteraction%2FwhatsappInteraction.socket.js;h=a97b745de2860afce8d8de333be47eec4df7e84f;hb=625a274d7c6c9ea6be043136164c37fd3fc082d8;hp=7668ad915a950e8e83661bc27e6b3b44f5855782;hpb=1562546be7bf64ba323d0927837b2b20dc380166;p=motion2.git diff --git a/server/api/whatsappInteraction/whatsappInteraction.socket.js b/server/api/whatsappInteraction/whatsappInteraction.socket.js index 7668ad9..a97b745 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 _0x43a8=['./whatsappInteraction.events','save','remove','update','removeListener','register','whatsappInteraction:'];(function(_0x1e6db3,_0x5643ac){var _0x1de886=function(_0x351318){while(--_0x351318){_0x1e6db3['push'](_0x1e6db3['shift']());}};_0x1de886(++_0x5643ac);}(_0x43a8,0x1c7));var _0x843a=function(_0x507b58,_0x2c0301){_0x507b58=_0x507b58-0x0;var _0x47599c=_0x43a8[_0x507b58];return _0x47599c;};'use strict';var WhatsappInteractionEvents=require(_0x843a('0x0'));var events=[_0x843a('0x1'),_0x843a('0x2'),_0x843a('0x3')];function createListener(_0xc92a1c,_0x41ca30){return function(_0x26f807){_0x41ca30['emit'](_0xc92a1c,_0x26f807);};}function removeListener(_0x347781,_0x7e5d2e){return function(){WhatsappInteractionEvents[_0x843a('0x4')](_0x347781,_0x7e5d2e);};}exports[_0x843a('0x5')]=function(_0x2dfda5){for(var _0x4a18ee=0x0,_0x4712b4=events['length'];_0x4a18ee<_0x4712b4;_0x4a18ee++){var _0x13e729=events[_0x4a18ee];var _0x10788a=createListener(_0x843a('0x6')+_0x13e729,_0x2dfda5);WhatsappInteractionEvents['on'](_0x13e729,_0x10788a);}}; \ No newline at end of file +var _0x66c5=['register','save','update','emit','removeListener'];(function(_0x1694f5,_0x49b7c3){var _0x5b4321=function(_0x58c183){while(--_0x58c183){_0x1694f5['push'](_0x1694f5['shift']());}};_0x5b4321(++_0x49b7c3);}(_0x66c5,0x83));var _0x566c=function(_0x5d6456,_0x58ecc7){_0x5d6456=_0x5d6456-0x0;var _0x4d66c1=_0x66c5[_0x5d6456];return _0x4d66c1;};'use strict';var WhatsappInteractionEvents=require('./whatsappInteraction.events');var events=[_0x566c('0x0'),'remove',_0x566c('0x1')];function createListener(_0x33c701,_0x3ea552){return function(_0x34b29a){_0x3ea552[_0x566c('0x2')](_0x33c701,_0x34b29a);};}function removeListener(_0x161a03,_0x43b96f){return function(){WhatsappInteractionEvents[_0x566c('0x3')](_0x161a03,_0x43b96f);};}exports[_0x566c('0x4')]=function(_0x564905){for(var _0x5d19b5=0x0,_0x34aa41=events['length'];_0x5d19b5<_0x34aa41;_0x5d19b5++){var _0x2a2d9a=events[_0x5d19b5];var _0x4e3759=createListener('whatsappInteraction:'+_0x2a2d9a,_0x564905);WhatsappInteractionEvents['on'](_0x2a2d9a,_0x4e3759);}}; \ No newline at end of file