2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use streamed video for GIFs in History.

This commit is contained in:
John Preston
2019-07-30 17:46:13 +02:00
parent b73f1be856
commit 8e8c356659
9 changed files with 279 additions and 158 deletions

View File

@@ -466,7 +466,7 @@ void SetupPerformance(
}) | rpl::start_with_next([=](bool enabled) {
session->settings().setAutoplayGifs(enabled);
if (!enabled) {
session->data().stopAutoplayAnimations();
session->data().checkPlayingVideoFiles();
}
session->saveSettingsDelayed();
}, container->lifetime());