Fix sending confetti
This commit is contained in:
parent
0d0c6187c0
commit
1a9f7860d4
3 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue