From: alex-z Date: Mon, 20 Dec 2021 14:05:11 +0000 (+0200) Subject: Fix typo in usernamePrefillServerVersionMinSupportedMajor. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~17^2~206^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6f5f3e769fba32414db81729706047abb5da9642;p=nextcloud-desktop.git Fix typo in usernamePrefillServerVersionMinSupportedMajor. Signed-off-by: alex-z --- diff --git a/src/libsync/account.cpp b/src/libsync/account.cpp index 63a018709..16d9bf4b2 100644 --- a/src/libsync/account.cpp +++ b/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