2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Load folder dialogs list.

This commit is contained in:
John Preston
2019-04-17 16:08:02 +04:00
parent be0cf8d379
commit 0367319934
10 changed files with 144 additions and 118 deletions

View File

@@ -39,7 +39,6 @@ class DialogsInner
public:
DialogsInner(QWidget *parent, not_null<Window::Controller*> controller);
void dialogsReceived(const QVector<MTPDialog> &dialogs);
bool searchReceived(
const QVector<MTPMessage> &result,
DialogsSearchRequestType type,
@@ -48,7 +47,6 @@ public:
const QString &query,
const QVector<MTPPeer> &my,
const QVector<MTPPeer> &result);
void showMore(int32 pixels);
void activate();
@@ -199,9 +197,6 @@ private:
Dialogs::RowDescriptor chatListEntryFirst() const;
Dialogs::RowDescriptor chatListEntryLast() const;
void applyDialog(const MTPDdialog &dialog);
void applyFolderDialog(const MTPDdialogFolder &dialog);
void itemRemoved(not_null<const HistoryItem*> item);
enum class UpdateRowSection {
Default = (1 << 0),