|
|
|
@ -189,7 +189,7 @@ public: |
|
|
|
|
Q_INVOKABLE void cacheMedia(QString eventId); |
|
|
|
|
Q_INVOKABLE bool saveMedia(QString eventId) const; |
|
|
|
|
|
|
|
|
|
void updateLastMessage(); |
|
|
|
|
void updateLastMessage(bool); |
|
|
|
|
void addEvents(const mtx::responses::Timeline &events); |
|
|
|
|
template<class T> |
|
|
|
|
void sendMessage(const T &msg); |
|
|
|
@ -259,6 +259,7 @@ private: |
|
|
|
|
const mtx::responses::ClaimKeys &res, |
|
|
|
|
mtx::http::RequestErr err); |
|
|
|
|
void readEvent(const std::string &id); |
|
|
|
|
void updateLastMessage(); |
|
|
|
|
|
|
|
|
|
QHash<QString, mtx::events::collections::TimelineEvents> events; |
|
|
|
|
QSet<QString> read; |
|
|
|
|