You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ffi): Subscribe to a room's RoomInfo through Client
This helps in the case we want to observe the membership state changes - or some other info - for a room that's still not known so we can't just use `Client::get_room` to fetch it.
Copy file name to clipboardExpand all lines: bindings/matrix-sdk-ffi/CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,9 @@ Breaking changes:
21
21
22
22
Additions:
23
23
24
+
-`Client::subscribe_to_room_info` allows clients to subscribe to room info updates in rooms which may not be known yet.
25
+
This is useful when displaying a room preview for an unknown room, so when we receive any membership change for it,
26
+
we can automatically update the UI.
24
27
-`Client::get_max_media_upload_size` to get the max size of a request sent to the homeserver so we can tweak our media
25
28
uploads by compressing/transcoding the media.
26
29
- Add `ClientBuilder::enable_share_history_on_invite` to enable experimental support for sharing encrypted room history on invite, per [MSC4268](https://github.com/matrix-org/matrix-spec-proposals/pull/4268).
0 commit comments