summary refs log tree commit diff
path: root/src/encryption
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-05-10 03:53:35 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-05-10 03:53:35 +0200
commit90da39313fd59fddefbb94c8599c47e4a1d7b884 (patch)
treeb0f81e5cae2d66b4b2dfacda55e64a62d66ac012 /src/encryption
parentMore image dialog fixes (diff)
downloadnheko-90da39313fd59fddefbb94c8599c47e4a1d7b884.tar.xz
Use right linter
Diffstat (limited to 'src/encryption')
-rw-r--r--src/encryption/DeviceVerificationFlow.cpp2
-rw-r--r--src/encryption/VerificationManager.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/encryption/DeviceVerificationFlow.cpp b/src/encryption/DeviceVerificationFlow.cpp

index db782a86..25ae8725 100644 --- a/src/encryption/DeviceVerificationFlow.cpp +++ b/src/encryption/DeviceVerificationFlow.cpp
@@ -631,7 +631,7 @@ DeviceVerificationFlow::startVerificationRequest() req.hashes = {"sha256"}; req.message_authentication_codes = {"hkdf-hmac-sha256"}; req.short_authentication_string = {mtx::events::msg::SASMethods::Decimal, - mtx::events::msg::SASMethods::Emoji}; + mtx::events::msg::SASMethods::Emoji}; if (this->type == DeviceVerificationFlow::Type::ToDevice) { mtx::requests::ToDeviceMessages<mtx::events::msg::KeyVerificationStart> body; diff --git a/src/encryption/VerificationManager.cpp b/src/encryption/VerificationManager.cpp
index 826f5194..8c775948 100644 --- a/src/encryption/VerificationManager.cpp +++ b/src/encryption/VerificationManager.cpp
@@ -15,8 +15,7 @@ VerificationManager::VerificationManager(TimelineViewManager *o) : QObject(o) , rooms_(o->rooms()) -{ -} +{} static bool isValidTime(std::optional<uint64_t> t)