[MOD] Wow, it can save the world!

This commit is contained in:
LDA 2024-08-18 10:13:07 +02:00
commit c0c13883d1
2 changed files with 1 additions and 3 deletions

View file

@ -262,9 +262,6 @@ ParseeMessageHandler(ParseeData *data, HashMap *event)
chat_id = ParseeGetFromRoomID(data, id);
/* TODO: This ref should be marked as read-only,
* as LMDB doesn't seem to like having two concurrent RW
* transactions running. */
ref = DbLockIntent(data->db, DB_HINT_READONLY, 3, "rooms", id, "data");
json = DbJson(ref);
direct = JsonValueAsBoolean(HashMapGet(json, "is_direct"));