Built motion from commit 5bb2501.|0.0.49
[motion.git] / server / api / chat_room / chat_room.socket.js
1 var _0x1b9f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\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\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1b9f[0];var User=require(_0x1b9f[2])[_0x1b9f[1]];var ChatRoom=require(_0x1b9f[2])[_0x1b9f[3]];var ChatMessage=require(_0x1b9f[2])[_0x1b9f[4]];var ChatVisitor=require(_0x1b9f[2])[_0x1b9f[5]];exports[_0x1b9f[6]]=function(_0xdc30x5){ChatRoom[_0x1b9f[7]](function(_0xdc30x6){onSave(_0xdc30x5,_0xdc30x6)});ChatRoom[_0x1b9f[8]](function(_0xdc30x6){onSave(_0xdc30x5,_0xdc30x6)});ChatRoom[_0x1b9f[9]](function(_0xdc30x6){onRemove(_0xdc30x5,_0xdc30x6)})};function onSave(_0xdc30x5,_0xdc30x6,_0xdc30x8){_0xdc30x5[_0x1b9f[11]](_0x1b9f[10],_0xdc30x6)}function onRemove(_0xdc30x5,_0xdc30x6,_0xdc30x8){_0xdc30x5[_0x1b9f[11]](_0x1b9f[12],_0xdc30x6)}