2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Support dialog rows with variable height.

This commit is contained in:
John Preston
2022-11-11 10:23:23 +04:00
parent 248337daf5
commit 37308cde21
26 changed files with 600 additions and 401 deletions

View File

@@ -401,7 +401,7 @@ void Session::addWindow(not_null<Window::SessionController*> controller) {
_windows.remove(controller);
});
updates().addActiveChat(controller->activeChatChanges(
) | rpl::map([=](const Dialogs::Key &chat) {
) | rpl::map([=](Dialogs::Key chat) {
return chat.peer();
}) | rpl::distinct_until_changed());
}