2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-07 18:15:15 +00:00

Updated TDesktop sources to 2.7.2

This commit is contained in:
RadRussianRus
2021-04-26 23:45:08 +03:00
324 changed files with 13799 additions and 3461 deletions

View File

@@ -153,7 +153,7 @@ void Step::finish(const MTPUser &user, QImage &&photo) {
const auto raw = existing.get();
if (const auto session = raw->maybeSession()) {
if (raw->mtp().environment() == _account->mtp().environment()
&& user.c_user().vid().v == session->userId()) {
&& UserId(user.c_user().vid()) == session->userId()) {
_account->logOut();
crl::on_main(raw, [=] {
Core::App().domain().activate(raw);