summary refs log tree commit diff
path: root/include/Cache.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-21 17:14:16 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-21 17:14:16 +0300
commit4a2f1af0907905829917ceddd828d5706aeff294 (patch)
tree9c2d65a64d1901556640814952abfee1710fd256 /include/Cache.h
parentCache refactoring (diff)
downloadnheko-4a2f1af0907905829917ceddd828d5706aeff294.tar.xz
Save read receipts
Diffstat (limited to 'include/Cache.h')
-rw-r--r--include/Cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Cache.h b/include/Cache.h

index b3bc085b..cc5f7065 100644 --- a/include/Cache.h +++ b/include/Cache.h
@@ -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. //!