summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2025-02-21 18:02:27 +0500
committerElzorFox <elzorfox@ya.ru>2025-02-21 18:02:27 +0500
commita237d7b332d0212ddd350c69488c93b846ff76d7 (patch)
tree53928f1cf6a64a0d611717c19c3f6a2a963ba22a /protocols/VKontakte/src/misc.cpp
parent34a9256c77e5e7db6e62d6897a307c28038d7c7a (diff)
VKontakte:
remove old token (before 20/02) on update change UA to Chrome cleanup version bump
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 9c1d86ed89..2f669795fe 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -146,6 +146,9 @@ void CVkProto::CheckUpdate()
bIint64IDCompatibility = true;
}
+ if (getDword("LastAccessTokenTime", 0) < 1740009600)
+ ClearAccessToken();
+
}
//////////////////////// bIint64IDCompatibility /////////////////////////////////////////