From cfca7157b98c9dc8e0852fe6484bc3f75008af7d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 18 Sep 2021 00:22:33 +0200 Subject: Change indentation to 4 spaces --- src/Olm.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/Olm.h') diff --git a/src/Olm.h b/src/Olm.h index eb60ae3a..44e2b8ed 100644 --- a/src/Olm.h +++ b/src/Olm.h @@ -18,32 +18,32 @@ Q_NAMESPACE enum DecryptionErrorCode { - NoError, - MissingSession, // Session was not found, retrieve from backup or request from other devices - // and try again - MissingSessionIndex, // Session was found, but it does not reach back enough to this index, - // retrieve from backup or request from other devices and try again - DbError, // DB read failed - DecryptionFailed, // libolm error - ParsingFailed, // Failed to parse the actual event - ReplayAttack, // Megolm index reused + NoError, + MissingSession, // Session was not found, retrieve from backup or request from other devices + // and try again + MissingSessionIndex, // Session was found, but it does not reach back enough to this index, + // retrieve from backup or request from other devices and try again + DbError, // DB read failed + DecryptionFailed, // libolm error + ParsingFailed, // Failed to parse the actual event + ReplayAttack, // Megolm index reused }; Q_ENUM_NS(DecryptionErrorCode) struct DecryptionResult { - DecryptionErrorCode error; - std::optional error_message; - std::optional event; + DecryptionErrorCode error; + std::optional error_message; + std::optional event; }; struct OlmMessage { - std::string sender_key; - std::string sender; + std::string sender_key; + std::string sender; - using RecipientKey = std::string; - std::map ciphertext; + using RecipientKey = std::string; + std::map ciphertext; }; void -- cgit 1.5.1