Built motion from commit 0dbf6b8.|0.0.131
[motion.git] / server / config / tools / mailRoom.js
1 var _0x906a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73","\x75\x73\x65\x72","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x69\x64","\x63\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6F\x70\x65\x6E\x52\x65\x61\x73\x6F\x6E","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x906a[0];const _=require(_0x906a[1]);const moment=require(_0x906a[2]);const Room=require(_0x906a[4])[_0x906a[3]];const Status=require(_0x906a[4])[_0x906a[5]];function MailRoom(){Room[_0x906a[12]](function(_0xb66fx6,_0xb66fx7){return Status[_0x906a[11]]({status:_0xb66fx6[_0x906a[6]],data1:_0xb66fx7[_0x906a[7]]?_0xb66fx7[_0x906a[7]][_0x906a[8]]:null,data2:_0xb66fx7[_0x906a[7]]?_0xb66fx7[_0x906a[7]][_0x906a[9]]:null,MailRoomId:_0xb66fx6[_0x906a[10]],UserId:_0xb66fx7[_0x906a[7]]?_0xb66fx7[_0x906a[7]][_0x906a[10]]:null})});Room[_0x906a[15]](function(_0xb66fx6,_0xb66fx7){if(_0xb66fx6[_0x906a[13]](_0x906a[6])|| _0xb66fx6[_0x906a[13]](_0x906a[14])){return Status[_0x906a[11]]({status:_0xb66fx6[_0x906a[6]],data1:_0xb66fx7[_0x906a[7]]?_0xb66fx7[_0x906a[7]][_0x906a[8]]:null,data2:_0xb66fx7[_0x906a[7]]?_0xb66fx7[_0x906a[7]][_0x906a[9]]:null,MailRoomId:_0xb66fx6[_0x906a[10]],UserId:_0xb66fx7[_0x906a[7]]?_0xb66fx7[_0x906a[7]][_0x906a[10]]:null})}})}module[_0x906a[16]]= MailRoom