From 9e983b1584fb7d13c7417725c2f191fdbf82c9d0 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 3 Jun 2023 02:05:56 +0200 Subject: Remove a few more QPairs --- src/encryption/Olm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/encryption/Olm.cpp b/src/encryption/Olm.cpp index b4310f26..8993f715 100644 --- a/src/encryption/Olm.cpp +++ b/src/encryption/Olm.cpp @@ -1306,7 +1306,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 nlohmann::json(e); }, event); @@ -1569,13 +1569,13 @@ send_encrypted_to_device_messages(const std::mapwarn("Not creating new session with {}:{} " "because of rate limit", -- cgit 1.4.1