diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-11-01 21:26:31 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-11-01 21:26:31 +0100 |
commit | 231bebba44d3c79834d2b31677a21d46b7ca7076 (patch) | |
tree | 5c2e8481a26e2e89d7557d3a5890bff0b88e3349 /src | |
parent | Optimize fetching olm session from the db (diff) | |
download | nheko-231bebba44d3c79834d2b31677a21d46b7ca7076.tar.xz |
The hybris of committing a line without linting
Diffstat (limited to 'src')
-rw-r--r-- | src/Cache.cpp | 4 |
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; |