diff --git a/src/libsync/foldermetadata.cpp b/src/libsync/foldermetadata.cpp index 955aa750762d7..a01a1898250fb 100644 --- a/src/libsync/foldermetadata.cpp +++ b/src/libsync/foldermetadata.cpp @@ -694,7 +694,7 @@ QByteArray FolderMetadata::encryptedMetadataLegacy() // multiple toBase64() just to keep with the old (wrong way) const auto encryptedMetadataKey = encryptDataWithPublicKey(metadataKeyForEncryption().toBase64().toBase64(), _account->e2e()->_publicKey).toBase64(); const QJsonObject metadata{ - {versionKey, QString::number(version, 'f', 1)}, + {versionKey, version}, {metadataKeyKey, QJsonValue::fromVariant(encryptedMetadataKey)}, {"checksum", QJsonValue::fromVariant(computeMetadataKeyChecksum(encryptedMetadataKey))}, };