Fix minimize for chatrooms