Skip to content

Commit 2a58870

Browse files
committed
doc: Add changelog files.
1 parent 6538b4c commit 2a58870

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
We welcome the new `ThreadInfo` type! It is similar to `RoomInfo`, but tailored
2+
to threads!
3+
4+
This type is managed by the Event Cache (`matrix_sdk::event_cache`).
5+
Consequently, the `EventCacheStore` trait gains 2 new methods:
6+
7+
1. `load_thread_info` to load a `ThreadInfo`,
8+
2. `update_thread_info` to update a `ThreadInfo`.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The `EventCacheStore::remember_thread` method has been removed.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
`ThreadEventCache` gains 4 new methods:
2+
3+
1. `read_receipts` to get the `ReadReceipts` associated to the `ThreadInfo`,
4+
2. `num_unread_messages` to get the number of unread messages (alias of
5+
`read_receipts().await?.num_unread`),
6+
3. `num_unread_notifications` to get the number of unread notifications (alias
7+
of `read_receipts().await?.num_notifications`),
8+
4. `num_unread_mentions` to get the number of unread mentions (alias of
9+
`read_receipts().await?.num_mentions`).

0 commit comments

Comments
 (0)