mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
The hybris of committing a line without linting
This commit is contained in:
parent
54931cb21b
commit
231bebba44
1 changed files with 2 additions and 2 deletions
|
@ -964,7 +964,7 @@ Cache::getOlmSession(const std::string &curve25519, const std::string &session_i
|
||||||
|
|
||||||
try {
|
try {
|
||||||
auto txn = ro_txn(env_);
|
auto txn = ro_txn(env_);
|
||||||
auto db = getOlmSessionsDb(txn, curve25519);
|
auto db = getOlmSessionsDb(txn, curve25519);
|
||||||
|
|
||||||
std::string_view pickled;
|
std::string_view pickled;
|
||||||
bool found = db.get(txn, session_id, pickled);
|
bool found = db.get(txn, session_id, pickled);
|
||||||
|
@ -986,7 +986,7 @@ Cache::getLatestOlmSession(const std::string &curve25519)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
auto txn = ro_txn(env_);
|
auto txn = ro_txn(env_);
|
||||||
auto db = getOlmSessionsDb(txn, curve25519);
|
auto db = getOlmSessionsDb(txn, curve25519);
|
||||||
|
|
||||||
std::string_view session_id, pickled_session;
|
std::string_view session_id, pickled_session;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue