mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-10 16:59:55 +00:00
Show members list in the third column.
This commit is contained in:
parent
1a273702d3
commit
76f951e3e6
@ -729,7 +729,7 @@ object_ptr<Ui::RpWidget> SetupChannelMembers(
|
||||
return lng_chat_status_members(lt_count, count);
|
||||
});
|
||||
auto membersCallback = [controller, channel] {
|
||||
controller->window()->showSection(Info::Memento(
|
||||
controller->showSection(Info::Memento(
|
||||
channel->id,
|
||||
Section::Type::Members));
|
||||
};
|
||||
|
@ -382,7 +382,7 @@ void Cover::refreshStatusText() {
|
||||
_status->setRichText(statusText);
|
||||
if (hasMembersLink) {
|
||||
_status->setLink(1, MakeShared<LambdaClickHandler>([=] {
|
||||
_controller->window()->showSection(Info::Memento(
|
||||
_controller->showSection(Info::Memento(
|
||||
_controller->peerId(),
|
||||
Section::Type::Members));
|
||||
}));
|
||||
|
@ -187,7 +187,7 @@ void Members::setupButtons() {
|
||||
contentMemento->setState(saveState());
|
||||
auto mementoStack = std::vector<std::unique_ptr<ContentMemento>>();
|
||||
mementoStack.push_back(std::move(contentMemento));
|
||||
_controller->window()->showSection(
|
||||
_controller->showSection(
|
||||
Info::Memento(std::move(mementoStack)));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user