Save read receipts
This commit is contained in:
parent
2f00fc51bf
commit
4a2f1af090
4 changed files with 17 additions and 21 deletions
|
|
@ -170,7 +170,9 @@ public:
|
|||
//! There should be only one user id present in a receipt list per room.
|
||||
//! The user id should be removed from any other lists.
|
||||
using Receipts = std::map<std::string, std::map<std::string, uint64_t>>;
|
||||
void updateReadReceipt(const std::string &room_id, const Receipts &receipts);
|
||||
void updateReadReceipt(lmdb::txn &txn,
|
||||
const std::string &room_id,
|
||||
const Receipts &receipts);
|
||||
|
||||
//! Retrieve all the read receipts for the given event id and room.
|
||||
//!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue