Allow selecting text in collapsed quotes.

This commit is contained in:
John Preston 2024-09-03 18:23:09 +04:00
parent d9d96d0a6f
commit 5286c7b1c3

View file

@ -26,6 +26,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/rect.h"
#include "ui/round_rect.h"
#include "ui/text/text_utilities.h"
#include "ui/text/text_extended_data.h"
#include "ui/power_saving.h"
#include "data/components/factchecks.h"
#include "data/components/sponsored_messages.h"
@ -3576,6 +3577,9 @@ bool Message::allowTextSelectionByHandler(
return true;
}
}
if (dynamic_cast<Ui::Text::BlockquoteClickHandler*>(handler.get())) {
return true;
}
return false;
}