Built motion from commit 8dae768.|0.0.121
[motion.git] / server / api / mail_room / mail_room.socket.js
index 4c3bb01..2d0047e 100644 (file)
@@ -1 +1 @@
-var _0xcdaf=["\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","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\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"];_0xcdaf[0];var MailMessage=require(_0xcdaf[2])[_0xcdaf[1]];var MailRoom=require(_0xcdaf[2])[_0xcdaf[3]];var User=require(_0xcdaf[2])[_0xcdaf[4]];exports[_0xcdaf[5]]=function(_0xb8abx4){MailRoom[_0xcdaf[6]](function(_0xb8abx5){onSave(_0xb8abx4,_0xb8abx5)});MailRoom[_0xcdaf[7]](function(_0xb8abx5){onRemove(_0xb8abx4,_0xb8abx5)});MailRoom[_0xcdaf[13]](function(_0xb8abx5){MailRoom[_0xcdaf[12]](_0xb8abx5[_0xcdaf[11]],{include:[{all:true}]})[_0xcdaf[10]](function(_0xb8abx7){onSave(_0xb8abx4,_0xb8abx7)})[_0xcdaf[9]](function(_0xb8abx6){console[_0xcdaf[8]](_0xb8abx6)})})};function onSave(_0xb8abx4,_0xb8abx5,_0xb8abx9){_0xb8abx4[_0xcdaf[15]](_0xcdaf[14],_0xb8abx5)}function onRemove(_0xb8abx4,_0xb8abx5,_0xb8abx9){_0xb8abx4[_0xcdaf[15]](_0xcdaf[16],_0xb8abx5)}
\ No newline at end of file
+var _0x831d=["\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"];_0x831d[0];const MailRoomEvents=require(_0x831d[1]);var events=[_0x831d[2],_0x831d[2],_0x831d[3]];exports[_0x831d[4]]= function(_0xf456x3){for(var _0xf456x4=0,_0xf456x5=events[_0x831d[5]];_0xf456x4< _0xf456x5;_0xf456x4++){var _0xf456x6=events[_0xf456x4];var _0xf456x7=createListener(_0x831d[6]+ _0xf456x6,_0xf456x3);MailRoomEvents[_0x831d[7]](_0xf456x6,_0xf456x7);_0xf456x3[_0x831d[7]](_0x831d[8],removeListener(_0xf456x6,_0xf456x7))}};function createListener(_0xf456x6,_0xf456x3){return function(_0xf456x9){_0xf456x3[_0x831d[9]](_0xf456x6,_0xf456x9)}}function removeListener(_0xf456x6,_0xf456x7){return function(){MailRoomEvents[_0x831d[10]](_0xf456x6,_0xf456x7)}}
\ No newline at end of file