Built motion from commit bfa6da2.|0.0.130
[motion.git] / server / api / mail_room / mail_room.socket.js
index fc72b09..6aa8332 100644 (file)
@@ -1 +1 @@
-var _0x7382=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7382[0];var MailMessage=require(_0x7382[2])[_0x7382[1]];var MailRoom=require(_0x7382[2])[_0x7382[3]];var User=require(_0x7382[2])[_0x7382[4]];exports[_0x7382[5]]=function(_0xe12dx4){MailRoom[_0x7382[12]](function(_0xe12dx5,_0xe12dx6){if(_0xe12dx4[_0x7382[6]]!==_0x7382[7]){onSave(_0xe12dx4,_0xe12dx5[_0x7382[8]])}else {switch(_0xe12dx5[_0x7382[11]]){case _0x7382[10]:if(_0xe12dx4[_0x7382[9]]==_0xe12dx6[_0x7382[9]]){onSave(_0xe12dx4,_0xe12dx5[_0x7382[8]])};break;default:}}});MailRoom[_0x7382[13]](function(_0xe12dx5){onRemove(_0xe12dx4,_0xe12dx5)});MailRoom[_0x7382[18]](function(_0xe12dx5,_0xe12dx6){if(_0xe12dx5[_0x7382[14]](_0x7382[11])){switch(_0xe12dx5[_0x7382[11]]){case _0x7382[15]:if(_0xe12dx4[_0x7382[6]]!==_0x7382[7]){onSave(_0xe12dx4,_0xe12dx5[_0x7382[8]])};break;case _0x7382[10]:if(_0xe12dx4[_0x7382[9]]!=_0xe12dx6[_0x7382[9]]){onRemove(_0xe12dx4,_0xe12dx5[_0x7382[8]])};break;case _0x7382[16]:onSave(_0xe12dx4,_0xe12dx5[_0x7382[8]]);break;case _0x7382[17]:onSave(_0xe12dx4,_0xe12dx5[_0x7382[8]]);break;default:}}})};function onSave(_0xe12dx4,_0xe12dx5,_0xe12dx8){_0xe12dx4[_0x7382[20]](_0x7382[19],_0xe12dx5)}function onRemove(_0xe12dx4,_0xe12dx5,_0xe12dx8){_0xe12dx4[_0x7382[20]](_0x7382[21],_0xe12dx5)}
\ No newline at end of file
+var _0x5032=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x5032[0];const MailRoomEvents=require(_0x5032[1]);var events=[_0x5032[2],_0x5032[2],_0x5032[3]];exports[_0x5032[4]]= function(_0x97aax3){for(var _0x97aax4=0,_0x97aax5=events[_0x5032[5]];_0x97aax4< _0x97aax5;_0x97aax4++){var _0x97aax6=events[_0x97aax4];var _0x97aax7=createListener(_0x5032[6]+ _0x97aax6,_0x97aax3);MailRoomEvents[_0x5032[7]](_0x97aax6,_0x97aax7);_0x97aax3[_0x5032[7]](_0x5032[8],removeListener(_0x97aax6,_0x97aax7))}};function createListener(_0x97aax6,_0x97aax3){return function(_0x97aax9){_0x97aax3[_0x5032[9]](_0x97aax6,_0x97aax9)}}function removeListener(_0x97aax6,_0x97aax7){return function(){MailRoomEvents[_0x5032[10]](_0x97aax6,_0x97aax7)}}
\ No newline at end of file