diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-06-28 16:16:43 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-06-28 16:17:39 +0300 |
commit | 4344b6964f63921aa300112bc3b62fdbaa64866a (patch) | |
tree | 9fdcad21eada05c41b31acc37162b681a10af5f0 /include/timeline/TimelineViewManager.h | |
parent | Upgrade matrix-structs & mtxclient (diff) | |
download | nheko-4344b6964f63921aa300112bc3b62fdbaa64866a.tar.xz |
Save timeline messages in cache for faster startup times
Diffstat (limited to 'include/timeline/TimelineViewManager.h')
-rw-r--r-- | include/timeline/TimelineViewManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/timeline/TimelineViewManager.h b/include/timeline/TimelineViewManager.h index 9e31ecbf..590adb2b 100644 --- a/include/timeline/TimelineViewManager.h +++ b/include/timeline/TimelineViewManager.h @@ -27,6 +27,7 @@ class QFile; class RoomInfoListItem; class TimelineView; struct DescInfo; +struct SavedMessages; class TimelineViewManager : public QStackedWidget { @@ -57,6 +58,7 @@ signals: public slots: void removeTimelineEvent(const QString &room_id, const QString &event_id); + void initWithMessages(const std::map<QString, mtx::responses::Timeline> &msgs); void setHistoryView(const QString &room_id); void queueTextMessage(const QString &msg); |