set historyID and other room information properly on room join