mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
new photoviewer adapted for documents
This commit is contained in:
@@ -1667,6 +1667,11 @@ void Window::mediaOverviewUpdated(PeerData *peer) {
|
||||
_mediaView->mediaOverviewUpdated(peer);
|
||||
}
|
||||
|
||||
void Window::documentUpdated(DocumentData *doc) {
|
||||
if (!_mediaView || _mediaView->isHidden()) return;
|
||||
_mediaView->documentUpdated(doc);
|
||||
}
|
||||
|
||||
void Window::changingMsgId(HistoryItem *row, MsgId newId) {
|
||||
if (main) main->changingMsgId(row, newId);
|
||||
if (!_mediaView || _mediaView->isHidden()) return;
|
||||
|
Reference in New Issue
Block a user