mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Fixed ability to copy entire translated text from context menu.
This commit is contained in:
@@ -2665,7 +2665,7 @@ TextWithEntities HistoryItem::translatedTextWithLocalEntities() const {
|
|||||||
TextForMimeData HistoryItem::clipboardText() const {
|
TextForMimeData HistoryItem::clipboardText() const {
|
||||||
return isService()
|
return isService()
|
||||||
? TextForMimeData()
|
? TextForMimeData()
|
||||||
: TextForMimeData::WithExpandedLinks(_text);
|
: TextForMimeData::WithExpandedLinks(translatedText());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryItem::changeViewsCount(int count) {
|
bool HistoryItem::changeViewsCount(int count) {
|
||||||
|
Reference in New Issue
Block a user