mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Support default General topic in forums.
This commit is contained in:
@@ -248,6 +248,7 @@ public:
|
||||
not_null<Window::SessionNavigation*> navigation,
|
||||
not_null<Ui::BoxContent*> box,
|
||||
not_null<PeerData*> peer);
|
||||
~Controller();
|
||||
|
||||
[[nodiscard]] object_ptr<Ui::VerticalLayout> createContent();
|
||||
void setFocus();
|
||||
@@ -388,6 +389,8 @@ Controller::Controller(
|
||||
_peer->updateFull();
|
||||
}
|
||||
|
||||
Controller::~Controller() = default;
|
||||
|
||||
void Controller::subscribeToMigration() {
|
||||
SubscribeToMigration(
|
||||
_peer,
|
||||
@@ -815,7 +818,7 @@ void Controller::fillForumButton() {
|
||||
|
||||
AddButtonWithText(
|
||||
_controls.buttonsLayout,
|
||||
rpl::single(u"Forum"_q), // #TODO forum
|
||||
rpl::single(u"Forum"_q), // #TODO forum lang
|
||||
rpl::single(QString()),
|
||||
[] {},
|
||||
{ &st::settingsIconGroup, Settings::kIconPurple }
|
||||
|
Reference in New Issue
Block a user