Built motion from commit 0ad9c269e.|1.0.31
[motion.git] / server / api / user_has_chat_room / user_has_chat_room.controller.js
index b34e39c..98d2389 100644 (file)
@@ -1 +1 @@
-var _0xf7cb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x75\x73\x65\x72\x49\x64","\x63\x68\x61\x74\x52\x6F\x6F\x6D\x49\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xf7cb[0];var _=require(_0xf7cb[1]);var UserHasChatRoom=require(_0xf7cb[3])[_0xf7cb[2]];exports[_0xf7cb[4]]= function(_0xb2a6x3,_0xb2a6x4){UserHasChatRoom[_0xf7cb[9]]()[_0xf7cb[8]](function(_0xb2a6x6){return _0xb2a6x4[_0xf7cb[7]](200)[_0xf7cb[6]](_0xb2a6x6)})[_0xf7cb[5]](function(_0xb2a6x5){return handleError(_0xb2a6x4,_0xb2a6x5)})};exports[_0xf7cb[10]]= function(_0xb2a6x3,_0xb2a6x4){UserHasChatRoom[_0xf7cb[14]](_0xb2a6x3[_0xf7cb[13]][_0xf7cb[12]])[_0xf7cb[8]](function(_0xb2a6x7){if(!_0xb2a6x7){return _0xb2a6x4[_0xf7cb[11]](404)};return _0xb2a6x4[_0xf7cb[6]](_0xb2a6x7)})[_0xf7cb[5]](function(_0xb2a6x5){return handleError(_0xb2a6x4,_0xb2a6x5)})};exports[_0xf7cb[15]]= function(_0xb2a6x3,_0xb2a6x4){UserHasChatRoom[_0xf7cb[15]](_0xb2a6x3[_0xf7cb[16]])[_0xf7cb[8]](function(_0xb2a6x7){return _0xb2a6x4[_0xf7cb[7]](201)[_0xf7cb[6]](_0xb2a6x7)})[_0xf7cb[5]](function(_0xb2a6x5){return handleError(_0xb2a6x4,_0xb2a6x5)})};exports[_0xf7cb[17]]= function(_0xb2a6x3,_0xb2a6x4){UserHasChatRoom[_0xf7cb[21]]({where:{UserId:_0xb2a6x3[_0xf7cb[13]][_0xf7cb[19]],ChatRoomId:_0xb2a6x3[_0xf7cb[13]][_0xf7cb[20]]},limit:1})[_0xf7cb[8]](function(_0xb2a6x7){if(!_0xb2a6x7){return _0xb2a6x4[_0xf7cb[11]](404)};_0xb2a6x7[_0xf7cb[18]](_0xb2a6x3[_0xf7cb[16]])[_0xf7cb[8]](function(){return _0xb2a6x4[_0xf7cb[7]](200)[_0xf7cb[6]](_0xb2a6x7)})[_0xf7cb[5]](function(_0xb2a6x5){return handleError(_0xb2a6x4,_0xb2a6x5)})})[_0xf7cb[5]](function(_0xb2a6x5){return handleError(_0xb2a6x4,_0xb2a6x5)})};exports[_0xf7cb[22]]= function(_0xb2a6x3,_0xb2a6x4){UserHasChatRoom[_0xf7cb[14]](_0xb2a6x3[_0xf7cb[13]][_0xf7cb[12]])[_0xf7cb[8]](function(_0xb2a6x7){if(!_0xb2a6x7){return _0xb2a6x4[_0xf7cb[11]](404)};_0xb2a6x7[_0xf7cb[22]]()[_0xf7cb[8]](function(){return _0xb2a6x4[_0xf7cb[11]](204)})[_0xf7cb[5]](function(_0xb2a6x5){return handleError(_0xb2a6x4,_0xb2a6x5)})})[_0xf7cb[5]](function(_0xb2a6x5){return handleError(_0xb2a6x4,_0xb2a6x5)})};function handleError(_0xb2a6x4,_0xb2a6x5){return _0xb2a6x4[_0xf7cb[7]](500)[_0xf7cb[6]](_0xb2a6x5)}
\ No newline at end of file
+var _0xe936=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x75\x73\x65\x72\x49\x64","\x63\x68\x61\x74\x52\x6F\x6F\x6D\x49\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x64\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0xe936[0];var _=require(_0xe936[1]);var UserHasChatRoom=require(_0xe936[3])[_0xe936[2]];var logger=require(_0xe936[5])(_0xe936[4]);exports[_0xe936[6]]= function(_0xa167x4,_0xa167x5){return UserHasChatRoom[_0xe936[11]]()[_0xe936[10]](function(_0xa167x7){return _0xa167x5[_0xe936[9]](200)[_0xe936[8]](_0xa167x7)})[_0xe936[7]](function(_0xa167x6){return handleError(_0xa167x5,_0xa167x6)})};exports[_0xe936[12]]= function(_0xa167x4,_0xa167x5){return UserHasChatRoom[_0xe936[16]](_0xa167x4[_0xe936[15]][_0xe936[14]])[_0xe936[10]](function(_0xa167x8){if(!_0xa167x8){return _0xa167x5[_0xe936[13]](404)};return _0xa167x5[_0xe936[8]](_0xa167x8)})[_0xe936[7]](function(_0xa167x6){return handleError(_0xa167x5,_0xa167x6)})};exports[_0xe936[17]]= function(_0xa167x4,_0xa167x5){return UserHasChatRoom[_0xe936[17]](_0xa167x4[_0xe936[18]])[_0xe936[10]](function(_0xa167x8){return _0xa167x5[_0xe936[9]](201)[_0xe936[8]](_0xa167x8)})[_0xe936[7]](function(_0xa167x6){return handleError(_0xa167x5,_0xa167x6)})};exports[_0xe936[19]]= function(_0xa167x4,_0xa167x5){return UserHasChatRoom[_0xe936[23]]({where:{UserId:_0xa167x4[_0xe936[15]][_0xe936[21]],ChatRoomId:_0xa167x4[_0xe936[15]][_0xe936[22]]},limit:1})[_0xe936[10]](function(_0xa167x8){if(!_0xa167x8){return _0xa167x5[_0xe936[13]](404)};return _0xa167x8[_0xe936[20]](_0xa167x4[_0xe936[18]])})[_0xe936[10]](function(_0xa167x9){return _0xa167x5[_0xe936[9]](200)[_0xe936[8]](_0xa167x9)})[_0xe936[7]](function(_0xa167x6){return handleError(_0xa167x5,_0xa167x6)})};exports[_0xe936[24]]= function(_0xa167x4,_0xa167x5){return UserHasChatRoom[_0xe936[16]](_0xa167x4[_0xe936[15]][_0xe936[14]])[_0xe936[10]](function(_0xa167x8){if(!_0xa167x8){return _0xa167x5[_0xe936[13]](404)};return _0xa167x8[_0xe936[24]]()})[_0xe936[10]](function(){return _0xa167x5[_0xe936[13]](204)})[_0xe936[7]](function(_0xa167x6){return handleError(_0xa167x5,_0xa167x6)})};function handleError(_0xa167x5,_0xa167x6){logger[_0xe936[26]](_0xa167x6[_0xe936[25]]);return _0xa167x5[_0xe936[9]](500)[_0xe936[8]](_0xa167x6)}
\ No newline at end of file