2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Suggest start export when time comes.

This commit is contained in:
John Preston
2018-06-23 00:18:43 +01:00
parent 844d030332
commit 0143fd28af
12 changed files with 123 additions and 11 deletions

View File

@@ -79,6 +79,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/update_checker.h"
#include "calls/calls_instance.h"
#include "calls/calls_top_bar.h"
#include "export/export_settings.h"
#include "export/view/export_view_top_bar.h"
#include "export/view/export_view_panel_controller.h"
#include "auth_session.h"
@@ -3821,6 +3822,10 @@ void MainWidget::start(const MTPUser *self) {
Local::readRecentStickers();
Local::readFavedStickers();
Local::readSavedGifs();
if (const auto availableAt = Local::ReadExportSettings().availableAt) {
Auth().data().suggestStartExport(availableAt);
}
_history->start();
Messenger::Instance().checkStartUrl();