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

Provided count of pinned dialogs to premium limit boxes for pins.

This commit is contained in:
23rd
2022-06-06 15:20:54 +03:00
parent 95cc27b145
commit 9b6b5968e2
3 changed files with 24 additions and 8 deletions

View File

@@ -251,7 +251,8 @@ bool PinnedLimitReached(
owner->setChatPinned(history, FilterId(), true);
history->session().api().savePinnedOrder(folder);
} else if (filterId) {
controller->show(Box(FilterPinsLimitBox, &history->session()));
controller->show(
Box(FilterPinsLimitBox, &history->session(), filterId));
} else if (folder) {
controller->show(Box(FolderPinsLimitBox, &history->session()));
} else {