Fixed album items selection in section of scheduled messages.

This bug relates only to albums with captions.
This commit is contained in:
23rd 2020-05-20 11:54:24 +03:00
parent 97305c8cb5
commit 8d1db85a28

View file

@ -1763,6 +1763,9 @@ void Message::fromNameUpdated(int width) const {
}
TextSelection Message::skipTextSelection(TextSelection selection) const {
if (selection.from == 0xFFFF) {
return selection;
}
return HistoryView::UnshiftItemSelection(selection, message()->_text);
}