mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:05:10 +00:00
[MOD] Wow, it can save the world!
This commit is contained in:
parent
aa9b68e02d
commit
c0c13883d1
2 changed files with 1 additions and 3 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue