Use right linter

This commit is contained in:
Nicolas Werner 2022-05-10 03:53:35 +02:00
parent a6b2be112b
commit 90da39313f
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
28 changed files with 35 additions and 67 deletions

View file

@ -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;

View file

@ -15,8 +15,7 @@
VerificationManager::VerificationManager(TimelineViewManager *o)
: QObject(o)
, rooms_(o->rooms())
{
}
{}
static bool
isValidTime(std::optional<uint64_t> t)