From a6b2be112b9a9450998985cbc5ec4ce10a5ae432 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 10 May 2022 03:19:53 +0200 Subject: More image dialog fixes --- src/encryption/DeviceVerificationFlow.cpp | 2 +- src/encryption/VerificationManager.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/encryption') diff --git a/src/encryption/DeviceVerificationFlow.cpp b/src/encryption/DeviceVerificationFlow.cpp index 25ae8725..db782a86 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 body; diff --git a/src/encryption/VerificationManager.cpp b/src/encryption/VerificationManager.cpp index 8c775948..826f5194 100644 --- a/src/encryption/VerificationManager.cpp +++ b/src/encryption/VerificationManager.cpp @@ -15,7 +15,8 @@ VerificationManager::VerificationManager(TimelineViewManager *o) : QObject(o) , rooms_(o->rooms()) -{} +{ +} static bool isValidTime(std::optional t) -- cgit 1.5.1