2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

new messages.getDialogs() is used for all dialog types (chats, groups, channels, supergroups)

This commit is contained in:
John Preston
2015-11-18 17:59:17 +03:00
parent 37de0904af
commit 1fa4fd269e
8 changed files with 102 additions and 74 deletions

View File

@@ -277,8 +277,11 @@ private:
bool searchFailed(DialogsSearchRequestType type, const RPCError &error, mtpRequestId req);
bool peopleFailed(const RPCError &error, mtpRequestId req);
int32 _dialogsOffset, _dialogsCount;
mtpRequestId _dialogsRequest, _channelDialogsRequest, _contactsRequest;
bool _dialogsFull;
int32 _dialogsOffsetDate;
MsgId _dialogsOffsetId;
PeerData *_dialogsOffsetPeer;
mtpRequestId _dialogsRequest, _contactsRequest;
FlatInput _filter;
IconedButton _newGroup, _addContact, _cancelSearch;