2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 23:25:15 +00:00

Always write MTP data right after login.

Also write to DebugLogs all keys write attempts.
This commit is contained in:
John Preston
2017-04-03 21:59:13 +03:00
parent 50586eb06d
commit 81375a05f1
2 changed files with 5 additions and 2 deletions

View File

@@ -424,7 +424,7 @@ void Widget::Step::finish(const MTPUser &user, QImage photo) {
}
Messenger::Instance().authSessionCreate(user.c_user().vid.v);
Local::writeMtpData();
App::wnd()->setupMain(&user);
// "this" is already deleted here by creating the main widget.