mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Fix login
This commit is contained in:
parent
592bf42640
commit
3d7bb22df4
1 changed files with 1 additions and 1 deletions
|
@ -2284,7 +2284,7 @@ std::optional<MemberInfo>
|
|||
Cache::getMember(const std::string &room_id, const std::string &user_id)
|
||||
{
|
||||
try {
|
||||
auto txn = lmdb::txn::begin(env_);
|
||||
auto txn = lmdb::txn::begin(env_, nullptr, MDB_RDONLY);
|
||||
|
||||
auto membersdb = getMembersDb(txn, room_id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue