mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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