Built motion from commit 14c9826.|0.0.145
[motion.git] / server / api / mail_room / mail_room.socket.js
index 210da3a..708169a 100644 (file)
@@ -1 +1 @@
-var _0xa140=["\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"];_0xa140[0];var MailMessage=require(_0xa140[2])[_0xa140[1]];var MailRoom=require(_0xa140[2])[_0xa140[3]];var User=require(_0xa140[2])[_0xa140[4]];exports[_0xa140[5]]=function(_0x6abfx4){MailRoom[_0xa140[6]](function(_0x6abfx5){onSave(_0x6abfx4,_0x6abfx5)});MailRoom[_0xa140[7]](function(_0x6abfx5){onRemove(_0x6abfx4,_0x6abfx5)});MailRoom[_0xa140[13]](function(_0x6abfx5){MailRoom[_0xa140[12]](_0x6abfx5[_0xa140[11]],{include:[{all:true}]})[_0xa140[10]](function(_0x6abfx7){onSave(_0x6abfx4,_0x6abfx7)})[_0xa140[9]](function(_0x6abfx6){console[_0xa140[8]](_0x6abfx6)})})};function onSave(_0x6abfx4,_0x6abfx5,_0x6abfx9){_0x6abfx4[_0xa140[15]](_0xa140[14],_0x6abfx5)}function onRemove(_0x6abfx4,_0x6abfx5,_0x6abfx9){_0x6abfx4[_0xa140[15]](_0xa140[16],_0x6abfx5)}
\ No newline at end of file
+var _0xf856=["\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"];_0xf856[0];const MailRoomEvents=require(_0xf856[1]);var events=[_0xf856[2],_0xf856[2],_0xf856[3]];exports[_0xf856[4]]= function(_0x6955x3){for(var _0x6955x4=0,_0x6955x5=events[_0xf856[5]];_0x6955x4< _0x6955x5;_0x6955x4++){var _0x6955x6=events[_0x6955x4];var _0x6955x7=createListener(_0xf856[6]+ _0x6955x6,_0x6955x3);MailRoomEvents[_0xf856[7]](_0x6955x6,_0x6955x7);_0x6955x3[_0xf856[7]](_0xf856[8],removeListener(_0x6955x6,_0x6955x7))}};function createListener(_0x6955x6,_0x6955x3){return function(_0x6955x9){_0x6955x3[_0xf856[9]](_0x6955x6,_0x6955x9)}}function removeListener(_0x6955x6,_0x6955x7){return function(){MailRoomEvents[_0xf856[10]](_0x6955x6,_0x6955x7)}}
\ No newline at end of file