Fix copying of service message time
This commit is contained in:
parent
8f3941a4c2
commit
a1ec233c79
1 changed files with 2 additions and 2 deletions
|
|
@ -539,13 +539,13 @@ void Service::updatePressed(QPoint point) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TextForMimeData Service::selectedText(TextSelection selection) const {
|
TextForMimeData Service::selectedText(TextSelection selection) const {
|
||||||
return message()->_text.toTextForMimeData(selection);
|
return message()->_postfixedText.toTextForMimeData(selection);
|
||||||
}
|
}
|
||||||
|
|
||||||
TextSelection Service::adjustSelection(
|
TextSelection Service::adjustSelection(
|
||||||
TextSelection selection,
|
TextSelection selection,
|
||||||
TextSelectType type) const {
|
TextSelectType type) const {
|
||||||
return message()->_text.adjustSelection(selection, type);
|
return message()->_postfixedText.adjustSelection(selection, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
EmptyPainter::EmptyPainter(not_null<History*> history) : _history(history) {
|
EmptyPainter::EmptyPainter(not_null<History*> history) : _history(history) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue