Built motion from commit e1ea3531f.|1.0.19
[motion.git] / server / api / user_has_chat_room / user_has_chat_room.socket.js
index 0aab97b..b962a1f 100644 (file)
@@ -1 +1 @@
-var _0x8e70=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x75\x73\x65\x72\x49\x64","\x69\x64","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x55\x73\x65\x72\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x8e70[0];const UserHasChatRoomEvents=require(_0x8e70[1]);const ChatRoom=require(_0x8e70[3])[_0x8e70[2]];const User=require(_0x8e70[3])[_0x8e70[4]];var events=[_0x8e70[5],_0x8e70[6]];exports[_0x8e70[7]]= function(_0x63cbx5){for(var _0x63cbx6=0,_0x63cbx7=events[_0x8e70[8]];_0x63cbx6< _0x63cbx7;_0x63cbx6++){var _0x63cbx8=events[_0x63cbx6];var _0x63cbx9=createListener(_0x8e70[9]+ _0x63cbx8,_0x63cbx5);UserHasChatRoomEvents[_0x8e70[10]](_0x63cbx8,_0x63cbx9);_0x63cbx5[_0x8e70[10]](_0x8e70[11],removeListener(_0x63cbx8,_0x63cbx9))}};function createListener(_0x63cbx8,_0x63cbx5){return function(_0x63cbxb){switch(_0x63cbx8){case _0x8e70[21]:return ChatRoom[_0x8e70[20]](_0x63cbxb.ChatRoomId,{include:[{model:User,attributes:[_0x8e70[15]]}]})[_0x8e70[19]](function(_0x63cbxd){_0x63cbxd[_0x8e70[18]][_0x8e70[17]](function(_0x63cbxe){if(_0x63cbx5[_0x8e70[14]]== _0x63cbxe[_0x8e70[15]]){_0x63cbx5[_0x8e70[16]](_0x63cbx8,_0x63cbxb)}})})[_0x8e70[13]](function(_0x63cbxc){console[_0x8e70[12]](_0x63cbxc)});case _0x8e70[22]:_0x63cbx5[_0x8e70[16]](_0x63cbx8,_0x63cbxb);break;default:}}}function removeListener(_0x63cbx8,_0x63cbx9){return function(){UserHasChatRoomEvents[_0x8e70[23]](_0x63cbx8,_0x63cbx9)}}
\ No newline at end of file
+var _0x14cd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x75\x73\x65\x72\x49\x64","\x69\x64","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x55\x73\x65\x72\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x14cd[0];const UserHasChatRoomEvents=require(_0x14cd[1]);const ChatRoom=require(_0x14cd[3])[_0x14cd[2]];const User=require(_0x14cd[3])[_0x14cd[4]];var events=[_0x14cd[5],_0x14cd[6]];exports[_0x14cd[7]]= function(_0x483cx5){for(var _0x483cx6=0,_0x483cx7=events[_0x14cd[8]];_0x483cx6< _0x483cx7;_0x483cx6++){var _0x483cx8=events[_0x483cx6];var _0x483cx9=createListener(_0x14cd[9]+ _0x483cx8,_0x483cx5);UserHasChatRoomEvents[_0x14cd[10]](_0x483cx8,_0x483cx9);_0x483cx5[_0x14cd[10]](_0x14cd[11],removeListener(_0x483cx8,_0x483cx9))}};function createListener(_0x483cx8,_0x483cx5){return function(_0x483cxb){switch(_0x483cx8){case _0x14cd[21]:return ChatRoom[_0x14cd[20]](_0x483cxb.ChatRoomId,{include:[{model:User,attributes:[_0x14cd[15]]}]})[_0x14cd[19]](function(_0x483cxd){_0x483cxd[_0x14cd[18]][_0x14cd[17]](function(_0x483cxe){if(_0x483cx5[_0x14cd[14]]== _0x483cxe[_0x14cd[15]]){_0x483cx5[_0x14cd[16]](_0x483cx8,_0x483cxb)}})})[_0x14cd[13]](function(_0x483cxc){console[_0x14cd[12]](_0x483cxc)});case _0x14cd[22]:_0x483cx5[_0x14cd[16]](_0x483cx8,_0x483cxb);break;default:}}}function removeListener(_0x483cx8,_0x483cx9){return function(){UserHasChatRoomEvents[_0x14cd[23]](_0x483cx8,_0x483cx9)}}
\ No newline at end of file