mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Load dialogs list in ApiWrap and Data::Session.
This commit is contained in:
@@ -293,6 +293,12 @@ public:
|
||||
void applyUpdate(const MTPDupdateChatParticipantAdmin &update);
|
||||
void applyUpdate(const MTPDupdateChatDefaultBannedRights &update);
|
||||
|
||||
void applyDialogs(
|
||||
const QVector<MTPMessage> &messages,
|
||||
const QVector<MTPDialog> &dialogs);
|
||||
void addSavedPeersAfter(const QDateTime &date);
|
||||
void addAllSavedPeers();
|
||||
|
||||
int pinnedDialogsCount() const;
|
||||
const std::deque<Dialogs::Key> &pinnedDialogsOrder() const;
|
||||
void setPinnedDialog(const Dialogs::Key &key, bool pinned);
|
||||
@@ -597,6 +603,9 @@ private:
|
||||
int entriesFull,
|
||||
int entriesMuted) const;
|
||||
|
||||
void applyDialog(const MTPDdialog &data);
|
||||
void applyDialog(const MTPDdialogFolder &data);
|
||||
|
||||
void photoApplyFields(
|
||||
not_null<PhotoData*> photo,
|
||||
const MTPPhoto &data);
|
||||
|
Reference in New Issue
Block a user