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

Remember passport credentials for 30 minutes.

This commit is contained in:
John Preston
2018-07-10 19:41:11 +03:00
parent 9929bfb281
commit e3e8d083ea
15 changed files with 342 additions and 138 deletions

View File

@@ -90,15 +90,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "styles/style_history.h"
#include "styles/style_boxes.h"
#ifdef _DEBUG
#include "export/output/export_output_html.h"
#include "export/output/export_output_stats.h"
#include "export/view/export_view_panel_controller.h"
#include "platform/platform_specific.h"
#else
#error "test"
#endif
namespace {
bool IsForceLogoutNotification(const MTPDupdateServiceNotification &data) {
@@ -261,10 +252,6 @@ MainWidget::MainWidget(
Messenger::Instance().mtp()->setUpdatesHandler(rpcDone(&MainWidget::updateReceived));
Messenger::Instance().mtp()->setGlobalFailHandler(rpcFail(&MainWidget::updateFail));
//Export::Output::HtmlWriter writer;
//writer.produceTestExample(psDownloadPath(), Export::View::PrepareEnvironment());
//crl::on_main([] { App::quit(); });
_ptsWaiter.setRequesting(true);
updateScrollColors();
setupConnectingWidget();