mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
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:
@@ -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 ¶ms) {
|
||||
|
||||
Reference in New Issue
Block a user