예제 #1
0
        public static bool CanUserJoinChatroom(int chatroomId, int parentId, int userId)
        {
            Chatroom c = GetChatroom(chatroomId, parentId);

            return(c == null ? false : c.CanUserJoinChatroom(userId));
        }