Fix login
This commit is contained in:
parent
592bf42640
commit
3d7bb22df4
@ -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 New Issue
Block a user