From d7eb62a5b51ce60a11e35e66d9fa0914338d3c39 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 16 Apr 2022 04:32:06 +0200 Subject: [PATCH] QPair is just an alias now --- src/encryption/Olm.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/encryption/Olm.cpp b/src/encryption/Olm.cpp index 4747a7e9..fe5b6bc4 100644 --- a/src/encryption/Olm.cpp +++ b/src/encryption/Olm.cpp @@ -1209,7 +1209,7 @@ send_encrypted_to_device_messages(const std::map, qint64> rateLimit; + static QMap, qint64> rateLimit; nlohmann::json ev_json = std::visit([](const auto &e) { return json(e); }, event); @@ -1263,12 +1263,12 @@ send_encrypted_to_device_messages(const std::mapwarn("Not creating new session with {}:{} " "because of rate limit", @@ -1461,13 +1461,13 @@ send_encrypted_to_device_messages(const std::mapwarn("Not creating new session with {}:{} " "because of rate limit",