some more methods for archive to store avatar states

This commit is contained in:
Blue 2019-10-14 23:18:51 +03:00
parent 323a549eca
commit c678a790e5
6 changed files with 168 additions and 55 deletions

View file

@ -21,6 +21,7 @@
#include <QObject>
#include <QString>
#include <QStandardPaths>
#include <list>
@ -58,6 +59,9 @@ public:
void flushMessagesToArchive(bool finished, const QString& firstId, const QString& lastId);
void requestHistory(int count, const QString& before);
void requestFromEmpty(int count, const QString& before);
bool hasAvatar() const;
QString avatarHash() const;
QString avatarPath() const;
signals:
void nameChanged(const QString& name);
@ -67,6 +71,7 @@ signals:
public:
const QString jid;
const QString account;
protected:
QString name;