mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix forwarded from for single message forward.
Closes #3699, closes #3701, closes #3700.
This commit is contained in:
@@ -1212,7 +1212,7 @@ void MediaView::displayPhoto(PhotoData *photo, HistoryItem *item) {
|
||||
_y = (height() - _h) / 2;
|
||||
_width = _w;
|
||||
if (_msgid && item) {
|
||||
_from = item->peerOriginal();
|
||||
_from = item->senderOriginal();
|
||||
} else {
|
||||
_from = _user;
|
||||
}
|
||||
@@ -1366,7 +1366,7 @@ void MediaView::displayDocument(DocumentData *doc, HistoryItem *item) { // empty
|
||||
_x = (width() - _w) / 2;
|
||||
_y = (height() - _h) / 2;
|
||||
if (_msgid && item) {
|
||||
_from = item->peerOriginal();
|
||||
_from = item->senderOriginal();
|
||||
} else {
|
||||
_from = _user;
|
||||
}
|
||||
|
Reference in New Issue
Block a user