Skip to content

Commit eba2a7a

Browse files
committed
doc(ffi): Update the CHANGELOG.md.
1 parent a98b822 commit eba2a7a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

bindings/matrix-sdk-ffi/CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,28 @@ Breaking changes:
2929
- There is a new `abortOidcLogin` method that should be called if the webview is dismissed without a callback (
3030
or fails to present).
3131
- The rest of `AuthenticationError` is now found in the OidcError type.
32+
3233
- `OidcAuthenticationData` is now called `OidcAuthorizationData`.
34+
3335
- The `get_element_call_required_permissions` function now requires the device_id.
3436

37+
- `Room::is_encrypted` is replaced by `Room::latest_encryption_state`
38+
which returns a value of the new `EncryptionState` enum; another
39+
`Room::encryption_state` non-async and infallible method is added to get the
40+
`EncryptionState` without running a network request.
41+
([#4777](https://github.com/matrix-org/matrix-rust-sdk/pull/4777)). One can
42+
safely replace:
43+
44+
```rust
45+
room.is_encrypted().await?
46+
```
47+
48+
by
49+
50+
```rust
51+
room.latest_encryption_state().await?.is_encrypted()
52+
```
53+
3554
Additions:
3655

3756
- Add `Encryption::get_user_identity` which returns `UserIdentity`

0 commit comments

Comments
 (0)