forked from blue/squawk
stanzaId based muc archive request, account object refactoring
This commit is contained in:
parent
9ca4aa29d4
commit
6b65910ded
10 changed files with 287 additions and 169 deletions
|
@ -67,7 +67,6 @@ public:
|
|||
void appendMessageToArchive(const Shared::Message& msg);
|
||||
void flushMessagesToArchive(bool finished, const QString& firstId, const QString& lastId);
|
||||
void requestHistory(int count, const QString& before);
|
||||
void requestFromEmpty(int count, const QString& before);
|
||||
QString avatarPath(const QString& resource = "") const;
|
||||
QString folderPath() const;
|
||||
bool readAvatarInfo(Archive::AvatarInfo& target, const QString& resource = "") const;
|
||||
|
@ -112,6 +111,7 @@ protected:
|
|||
private:
|
||||
void nextRequest();
|
||||
void performRequest(int count, const QString& before);
|
||||
QString getId(const Shared::Message& msg);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue