2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Allow creating discussion groups for channels.

This commit is contained in:
John Preston
2019-05-24 13:14:02 +02:00
parent b9d89cb4a0
commit ee2c7fad78
5 changed files with 56 additions and 28 deletions

View File

@@ -592,7 +592,7 @@ void MainWindow::onShowNewGroup() {
if (AuthSession::Exists()) {
Ui::show(
Box<GroupInfoBox>(CreatingGroupGroup, false),
Box<GroupInfoBox>(GroupInfoBox::Type::Group),
LayerOption::KeepOther);
}
}
@@ -602,7 +602,7 @@ void MainWindow::onShowNewChannel() {
if (_main) {
Ui::show(
Box<GroupInfoBox>(CreatingGroupChannel, false),
Box<GroupInfoBox>(GroupInfoBox::Type::Channel),
LayerOption::KeepOther);
}
}