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:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user