def refresh_rooms(self):
        """Calls GET /joined_rooms to refresh rooms list."""
        for room_id in self.user_api.get_joined_rooms()["joined_rooms"]:
            self._rooms[room_id] = MatrixRoom(room_id, self.user_api)