Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / services / agi / mailRpc / index.js
index de4168d..35cf7c3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbf1a=['request','then','error','message','result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','client','http'];(function(_0x333714,_0x3370ac){var _0x4c211e=function(_0x34219b){while(--_0x34219b){_0x333714['push'](_0x333714['shift']());}};_0x4c211e(++_0x3370ac);}(_0xbf1a,0x11c));var _0xabf1=function(_0x9618cc,_0x16cc5e){_0x9618cc=_0x9618cc-0x0;var _0x55a1f9=_0xbf1a[_0x9618cc];return _0x55a1f9;};'use strict';var BPromise=require(_0xabf1('0x0'));var jayson=require(_0xabf1('0x1'));var client=jayson[_0xabf1('0x2')][_0xabf1('0x3')]({'port':0x232b});function request(_0x8db232,_0x349fdd){return new BPromise(function(_0xb8088f,_0x5b8500){return client[_0xabf1('0x4')](_0x8db232,_0x349fdd)[_0xabf1('0x5')](function(_0x2f981e){if(_0x2f981e['error']){return _0x5b8500(_0x2f981e[_0xabf1('0x6')][_0xabf1('0x7')]);}else{return _0xb8088f(_0x2f981e[_0xabf1('0x8')]);}})[_0xabf1('0x9')](function(_0x147e72){return _0x5b8500(_0x147e72);});});}exports[_0xabf1('0xa')]=function(_0x360621,_0xa6f47c){return request(_0xabf1('0xb'),{'account':_0x360621,'message':_0xa6f47c});};
\ No newline at end of file
+var _0x4b5d=['result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','client','error','message'];(function(_0x4ca8ea,_0x1fa84e){var _0x41854e=function(_0x10e1f3){while(--_0x10e1f3){_0x4ca8ea['push'](_0x4ca8ea['shift']());}};_0x41854e(++_0x1fa84e);}(_0x4b5d,0x70));var _0xd4b5=function(_0x3a7db0,_0xe93c50){_0x3a7db0=_0x3a7db0-0x0;var _0x17cbba=_0x4b5d[_0x3a7db0];return _0x17cbba;};'use strict';var BPromise=require(_0xd4b5('0x0'));var jayson=require(_0xd4b5('0x1'));var client=jayson[_0xd4b5('0x2')]['http']({'port':0x232b});function request(_0x3369ca,_0x119aab){return new BPromise(function(_0x342e3c,_0x522f37){return client['request'](_0x3369ca,_0x119aab)['then'](function(_0x30ef85){if(_0x30ef85[_0xd4b5('0x3')]){return _0x522f37(_0x30ef85['error'][_0xd4b5('0x4')]);}else{return _0x342e3c(_0x30ef85[_0xd4b5('0x5')]);}})[_0xd4b5('0x6')](function(_0x439fd5){return _0x522f37(_0x439fd5);});});}exports[_0xd4b5('0x7')]=function(_0x278396,_0x3c0297){return request(_0xd4b5('0x8'),{'account':_0x278396,'message':_0x3c0297});};
\ No newline at end of file