Fix typo in usernamePrefillServerVersionMinSupportedMajor.
authoralex-z <blackslayer4@gmail.com>
Mon, 20 Dec 2021 14:05:11 +0000 (16:05 +0200)
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>
Tue, 11 Jan 2022 13:37:09 +0000 (13:37 +0000)
Signed-off-by: alex-z <blackslayer4@gmail.com>
src/libsync/account.cpp

index 63a018709df3692b60e3ab570662415bb98ec8a7..16d9bf4b2ca30230eccb415af898068c3805212e 100644 (file)
@@ -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