summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-11-01 21:26:31 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-11-01 21:26:31 +0100
commit231bebba44d3c79834d2b31677a21d46b7ca7076 (patch)
tree5c2e8481a26e2e89d7557d3a5890bff0b88e3349 /src/Cache.cpp
parentOptimize fetching olm session from the db (diff)
downloadnheko-231bebba44d3c79834d2b31677a21d46b7ca7076.tar.xz
The hybris of committing a line without linting
Diffstat (limited to '')
-rw-r--r--src/Cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp
index cb4ee0b0..3426ccfe 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -964,7 +964,7 @@ Cache::getOlmSession(const std::string &curve25519, const std::string &session_i
 
     try {
         auto txn = ro_txn(env_);
-        auto db = getOlmSessionsDb(txn, curve25519);
+        auto db  = getOlmSessionsDb(txn, curve25519);
 
         std::string_view pickled;
         bool found = db.get(txn, session_id, pickled);
@@ -986,7 +986,7 @@ Cache::getLatestOlmSession(const std::string &curve25519)
 
     try {
         auto txn = ro_txn(env_);
-        auto db = getOlmSessionsDb(txn, curve25519);
+        auto db  = getOlmSessionsDb(txn, curve25519);
 
         std::string_view session_id, pickled_session;