Explorar o código

Fix typo in usernamePrefillServerVersionMinSupportedMajor.

Signed-off-by: alex-z <blackslayer4@gmail.com>
alex-z %!s(int64=4) %!d(string=hai) anos
pai
achega
6f5f3e769f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/libsync/account.cpp

+ 2 - 2
src/libsync/account.cpp

@@ -57,7 +57,7 @@ using namespace QKeychain;
 
 namespace {
 constexpr int pushNotificationsReconnectInterval = 1000 * 60 * 2;
-constexpr int usernamePrefillServerVersinMinSupportedMajor = 24;
+constexpr int usernamePrefillServerVersionMinSupportedMajor = 24;
 constexpr int checksumRecalculateRequestServerVersionMinSupportedMajor = 24;
 }
 
@@ -633,7 +633,7 @@ bool Account::serverVersionUnsupported() const
 
 bool Account::isUsernamePrefillSupported() const
 {
-    return serverVersionInt() >= makeServerVersion(usernamePrefillServerVersinMinSupportedMajor, 0, 0);
+    return serverVersionInt() >= makeServerVersion(usernamePrefillServerVersionMinSupportedMajor, 0, 0);
 }
 
 bool Account::isChecksumRecalculateRequestSupported() const