aboutsummaryrefslogtreecommitdiff
path: root/lib/olm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/olm')
-rw-r--r--lib/olm/e2ee.h2
-rw-r--r--lib/olm/qolmaccount.cpp2
-rw-r--r--lib/olm/qolmoutboundsession.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/olm/e2ee.h b/lib/olm/e2ee.h
index 40ab56c7..1dee0e42 100644
--- a/lib/olm/e2ee.h
+++ b/lib/olm/e2ee.h
@@ -54,7 +54,7 @@ struct IdentityKeys
QByteArray ed25519;
};
-//! Struct representing the the one-time keys.
+//! Struct representing the one-time keys.
struct OneTimeKeys
{
QMap<QString, QMap<QString, QString>> keys;
diff --git a/lib/olm/qolmaccount.cpp b/lib/olm/qolmaccount.cpp
index 89d82832..742d7d18 100644
--- a/lib/olm/qolmaccount.cpp
+++ b/lib/olm/qolmaccount.cpp
@@ -30,7 +30,7 @@ bool operator==(const IdentityKeys& lhs, const IdentityKeys& rhs)
return lhs.curve25519 == rhs.curve25519 &&& lhs.ed25519 == rhs.ed25519;
}
-// Conver olm error to enum
+// Convert olm error to enum
OlmError lastError(OlmAccount *account) {
const std::string error_raw = olm_account_last_error(account);
diff --git a/lib/olm/qolmoutboundsession.h b/lib/olm/qolmoutboundsession.h
index 41eb874a..2e1439d3 100644
--- a/lib/olm/qolmoutboundsession.h
+++ b/lib/olm/qolmoutboundsession.h
@@ -21,7 +21,7 @@ public:
//! Serialises an `QOlmOutboundGroupSession` to encrypted Base64.
std::variant<QByteArray, OlmError> pickle(const PicklingMode &mode);
//! Deserialises from encrypted Base64 that was previously obtained by
- //! pickling an `QOlmOutboundGroupSession`.
+ //! pickling a `QOlmOutboundGroupSession`.
static std::variant<QOlmOutboundGroupSession, OlmError> unpickle(QByteArray &pickled, const PicklingMode &mode);
//! Encrypts a plaintext message using the session.
std::variant<QString, OlmError> encrypt(QString &plaintext);