2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

When reporting peer allow to select messages first.

This commit is contained in:
John Preston
2021-02-15 21:37:22 +04:00
parent 45dcadfff4
commit 467449ac13
25 changed files with 639 additions and 372 deletions

View File

@@ -1073,6 +1073,17 @@ void SessionController::clearPassportForm() {
_passportForm = nullptr;
}
void SessionController::showChooseReportMessages(
not_null<PeerData*> peer,
Ui::ReportReason reason,
Fn<void(MessageIdsList)> done) {
content()->showChooseReportMessages(peer, reason, std::move(done));
}
void SessionController::clearChooseReportMessages() {
content()->clearChooseReportMessages();
}
void SessionController::updateColumnLayout() {
content()->updateColumnLayout();
}