2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Moved boxes for reporting messages or peers to separated file.

This commit is contained in:
23rd
2022-04-17 13:30:08 +03:00
committed by John Preston
parent 6dce8dfa20
commit e3ac84a849
8 changed files with 109 additions and 66 deletions

View File

@@ -19,6 +19,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "boxes/choose_filter_box.h"
#include "boxes/create_poll_box.h"
#include "boxes/pin_messages_box.h"
#include "boxes/report_messages_box.h"
#include "boxes/peers/add_bot_to_chat_box.h"
#include "boxes/peers/add_participants_box.h"
#include "boxes/peers/edit_contact_box.h"
@@ -631,7 +632,7 @@ void Filler::addReport() {
const auto peer = _peer;
const auto navigation = _controller;
_addAction(tr::lng_profile_report(tr::now), [=] {
HistoryView::ShowReportPeerBox(navigation, peer);
ShowReportPeerBox(navigation, peer);
}, &st::menuIconReport);
}