diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 6f83064b1..ab905aa4b 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -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); }