Added per-room message history.