Reduce CPU usage by instead fetching read receipts after related sync events (#168)

This commit is contained in:
Benjamin Lee 2023-10-15 18:12:39 -07:00 committed by GitHub
parent df3148b9f5
commit b2b47ed7a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 123 additions and 81 deletions

View file

@ -153,7 +153,8 @@ pub fn mock_room() -> RoomInfo {
keys: mock_keys(),
messages: mock_messages(),
receipts: HashMap::new(),
event_receipts: HashMap::new(),
user_receipts: HashMap::new(),
read_till: None,
reactions: HashMap::new(),