[network/ruqola] src/core/encryption: Add {... }
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 4e2815f210912a125dcdcade44a0d52b907fe588 by Laurent Montel.
Committed on 03/08/2026 at 17:45.
Pushed by mlaurent into branch 'master'.
Add {... }
M +2 -1 src/core/encryption/e2ekeymanager.cpp
https://invent.kde.org/network/ruqola/-/commit/4e2815f210912a125dcdcade44a0d52b907fe588
diff --git a/src/core/encryption/e2ekeymanager.cpp b/src/core/encryption/e2ekeymanager.cpp
index 791015aab6..3e781f5422 100644
--- a/src/core/encryption/e2ekeymanager.cpp
+++ b/src/core/encryption/e2ekeymanager.cpp
@@ -262,8 +262,9 @@ void E2eKeyManager::verifyExistingKey(const QJsonObject &json)
const QJsonDocument doc = QJsonDocument::fromJson(strBytes);
if (!doc.isNull() && doc.isObject()) {
const QByteArray result = decodeObject(doc.object());
- if (!result.isEmpty())
+ if (!result.isEmpty()) {
return result;
+ }
}
}