Merge tag 'v6.7.8' into dev

# Conflicts:
#	.github/workflows/mac_packaged.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/api/api_chat_invite.h
#	Telegram/SourceFiles/boxes/language_box.cpp
#	Telegram/SourceFiles/boxes/send_files_box.h
#	Telegram/SourceFiles/boxes/sticker_set_box.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_types.h
#	Telegram/SourceFiles/history/history_item.cpp
#	Telegram/SourceFiles/history/history_widget.cpp
#	Telegram/SourceFiles/history/view/history_view_chat_section.cpp
#	Telegram/SourceFiles/history/view/history_view_message.cpp
#	Telegram/SourceFiles/history/view/history_view_translate_bar.cpp
#	Telegram/SourceFiles/history/view/history_view_translate_tracker.cpp
#	Telegram/SourceFiles/platform/mac/main_window_mac.mm
#	Telegram/SourceFiles/settings/sections/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
This commit is contained in:
AlexeyZavar
2026-04-24 20:47:17 +03:00
308 changed files with 13057 additions and 2300 deletions
+11
View File
@@ -1569,6 +1569,17 @@ void MainWidget::showHistory(
controller()->dropSubsectionTabs();
}
bool MainWidget::handleDrawToReplyRequest(Data::DrawToReplyRequest request) {
if (_mainSection) {
using namespace HistoryView;
if (const auto с = dynamic_cast<ChatWidget*>(_mainSection.data())) {
return с->handleDrawToReplyRequest(std::move(request));
}
return false;
}
return _history->handleDrawToReplyRequest(std::move(request));
}
void MainWidget::showMessage(
not_null<const HistoryItem*> item,
const SectionShow &params) {