diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-07 22:51:09 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-07 22:51:09 +0200 |
commit | 72bbad7485db6ac1803f81344c29b93d9fa70945 (patch) | |
tree | 6fb74f887102affa0d5a6f4fdac0b87c1881c6ad /src/Olm.cpp | |
parent | Merge pull request #664 from govynnus/token-registration (diff) | |
download | nheko-72bbad7485db6ac1803f81344c29b93d9fa70945.tar.xz |
Show encryption errors in qml and add request keys button
Diffstat (limited to '')
-rw-r--r-- | src/Olm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Olm.cpp b/src/Olm.cpp index 048a6c0f..293b12de 100644 --- a/src/Olm.cpp +++ b/src/Olm.cpp @@ -1069,7 +1069,7 @@ decryptEvent(const MegolmSessionIndex &index, mtx::events::collections::TimelineEvent te; mtx::events::collections::from_json(body, te); - return {std::nullopt, std::nullopt, std::move(te.data)}; + return {DecryptionErrorCode::NoError, std::nullopt, std::move(te.data)}; } catch (std::exception &e) { return {DecryptionErrorCode::ParsingFailed, e.what(), std::nullopt}; } |