From b1f232bf862ca9aeedeb20e47c673411ef0bb05f Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Tue, 30 Jan 2018 12:56:01 -0700 Subject: Render messages received by `/messages` on demand --- include/timeline/TimelineView.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/timeline') diff --git a/include/timeline/TimelineView.h b/include/timeline/TimelineView.h index 43a23b6a..f771a236 100644 --- a/include/timeline/TimelineView.h +++ b/include/timeline/TimelineView.h @@ -211,9 +211,13 @@ private: //! Messages received by sync not added to the timeline. std::vector bottomMessages_; + //! Messages received by /messages not added to the timeline. + std::vector topMessages_; //! Render the given timeline events to the bottom of the timeline. void renderBottomEvents(const std::vector &events); + //! Render the given timeline events to the top of the timeline. + void renderTopEvents(const std::vector &events); //! Decide if the given timeline event can be rendered. inline bool isViewable(const TimelineEvent &event) const; -- cgit 1.5.1