2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Show forwarded info in Dice media.

This commit is contained in:
John Preston
2020-03-06 11:53:59 +04:00
parent c83e297554
commit e7ca405e8c
4 changed files with 126 additions and 32 deletions

View File

@@ -3245,7 +3245,7 @@ QString HistoryInner::tooltipText() const {
}
} else if (_mouseCursorState == CursorState::Forwarded
&& _mouseAction == MouseAction::None) {
if (const auto view = App::hoveredItem()) {
if (const auto view = App::mousedItem()) {
if (const auto forwarded = view->data()->Get<HistoryMessageForwarded>()) {
return forwarded->text.toString();
}