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