mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Allow editing topic title and icon.
This commit is contained in:
@@ -2409,6 +2409,8 @@ auto MainWidget::thirdSectionForCurrentMainSection(
|
||||
-> std::shared_ptr<Window::SectionMemento> {
|
||||
if (_thirdSectionFromStack) {
|
||||
return std::move(_thirdSectionFromStack);
|
||||
} else if (const auto topic = key.topic()) {
|
||||
return std::make_shared<Info::Memento>(topic);
|
||||
} else if (const auto peer = key.peer()) {
|
||||
return std::make_shared<Info::Memento>(
|
||||
peer,
|
||||
|
Reference in New Issue
Block a user