Allow selecting text in collapsed quotes.
This commit is contained in:
parent
d9d96d0a6f
commit
5286c7b1c3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue