2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix Ctrl+[1-5] jump to pinned in folders.

This commit is contained in:
John Preston
2020-03-23 15:10:09 +04:00
parent 6022fa790e
commit d5b8fc703e
4 changed files with 13 additions and 8 deletions

View File

@@ -1003,7 +1003,7 @@ void ApiWrap::requestPinnedDialogs(Data::Folder *folder) {
result.match([&](const MTPDmessages_peerDialogs &data) {
_session->data().processUsers(data.vusers());
_session->data().processChats(data.vchats());
_session->data().clearPinnedChats(folder, FilterId());
_session->data().clearPinnedChats(folder);
_session->data().applyDialogs(
folder,
data.vmessages().v,