public static bool CanUserJoinChatroom(int chatroomId, int parentId, int userId) { Chatroom c = GetChatroom(chatroomId, parentId); return(c == null ? false : c.CanUserJoinChatroom(userId)); }
public static bool CanUserJoinChatroom(int chatroomId, int parentId, int userId) { Chatroom c = GetChatroom(chatroomId, parentId); return(c == null ? false : c.CanUserJoinChatroom(userId)); }