2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-07 01:45:39 +00:00

Allow editing of collapsed quotes.

This commit is contained in:
John Preston
2024-06-12 21:22:06 +04:00
parent 5e8c3fb146
commit ec40292cbf
6 changed files with 37 additions and 16 deletions

View File

@@ -271,7 +271,7 @@ bool UiIntegration::copyPreOnClick(const QVariant &context) {
}
std::unique_ptr<Ui::Text::CustomEmoji> UiIntegration::createCustomEmoji(
const QString &data,
QStringView data,
const std::any &context) {
const auto my = std::any_cast<MarkedTextContext>(&context);
if (!my || !my->session) {