Built motion from commit c8fa5ef.|0.0.21
[motion.git] / server / api / chat_room / chat_room.socket.js
1 var _0xd14c=["\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"];_0xd14c[0];var User=require(_0xd14c[2])[_0xd14c[1]];var ChatRoom=require(_0xd14c[2])[_0xd14c[3]];var ChatMessage=require(_0xd14c[2])[_0xd14c[4]];var ChatVisitor=require(_0xd14c[2])[_0xd14c[5]];exports[_0xd14c[6]]=function(_0x783ex5){ChatRoom[_0xd14c[7]](function(_0x783ex6){onSave(_0x783ex5,_0x783ex6)});ChatRoom[_0xd14c[8]](function(_0x783ex6){onSave(_0x783ex5,_0x783ex6)});ChatRoom[_0xd14c[9]](function(_0x783ex6){onRemove(_0x783ex5,_0x783ex6)});};function onSave(_0x783ex5,_0x783ex6,_0x783ex8){_0x783ex5[_0xd14c[11]](_0xd14c[10],_0x783ex6)}function onRemove(_0x783ex5,_0x783ex6,_0x783ex8){_0x783ex5[_0xd14c[11]](_0xd14c[12],_0x783ex6)}