Fix copying of service message time

This commit is contained in:
Eric Kotato 2021-01-20 17:14:53 +03:00
parent 8f3941a4c2
commit a1ec233c79

View file

@ -539,13 +539,13 @@ void Service::updatePressed(QPoint point) {
}
TextForMimeData Service::selectedText(TextSelection selection) const {
return message()->_text.toTextForMimeData(selection);
return message()->_postfixedText.toTextForMimeData(selection);
}
TextSelection Service::adjustSelection(
TextSelection selection,
TextSelectType type) const {
return message()->_text.adjustSelection(selection, type);
return message()->_postfixedText.adjustSelection(selection, type);
}
EmptyPainter::EmptyPainter(not_null<History*> history) : _history(history) {