mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Remove DocumentData::actionOnLoad. Fix GIF open.
This commit is contained in:
@@ -1388,10 +1388,6 @@ void MainWidget::documentLoadProgress(FileLoader *loader) {
|
||||
}
|
||||
|
||||
void MainWidget::documentLoadProgress(DocumentData *document) {
|
||||
if (document->loaded()) {
|
||||
document->performActionOnLoad();
|
||||
}
|
||||
|
||||
session().data().requestDocumentViewRepaint(document);
|
||||
session().documentUpdated.notify(document, true);
|
||||
|
||||
|
Reference in New Issue
Block a user