diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-12-16 17:24:52 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-12-16 17:24:52 +0100 |
commit | 1a9f7860d41fe14ca38bc9a3c99931dceae95679 (patch) | |
tree | 5ba8e916eab0abc80c571373565a2c738130f959 /src | |
parent | Bump mtxclient version (diff) | |
download | nheko-1a9f7860d41fe14ca38bc9a3c99931dceae95679.tar.xz |
Fix sending confetti
Diffstat (limited to 'src')
-rw-r--r-- | src/Cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp index 5cb87a2f..809d5e17 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -3251,7 +3251,7 @@ Cache::pendingEvents(const std::string &room_id) std::optional<mtx::events::collections::TimelineEvent> Cache::firstPendingMessage(const std::string &room_id) { - auto txn = ro_txn(env_); + auto txn = lmdb::txn::begin(env_); auto pending = getPendingMessagesDb(txn, room_id); try { |