2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Support topic choosing in ShareBox.

This commit is contained in:
John Preston
2022-11-01 15:17:13 +04:00
parent 7384cd3463
commit e6c2aa8021
14 changed files with 273 additions and 117 deletions

View File

@@ -607,7 +607,7 @@ bool MainWidget::sendPaths(not_null<Data::Thread*> thread) {
Ui::show(Ui::MakeInformBox(tr::lng_forward_send_files_cant()));
return false;
} else if (const auto error = Data::RestrictionError(
thread->owningHistory()->peer,
thread->peer(),
ChatRestriction::SendMedia)) {
Ui::show(Ui::MakeInformBox(*error));
return false;