Commit eba2a7a 1 parent a98b822 commit eba2a7a Copy full SHA for eba2a7a
File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,28 @@ Breaking changes:
29
29
- There is a new ` abortOidcLogin ` method that should be called if the webview is dismissed without a callback (
30
30
or fails to present).
31
31
- The rest of ` AuthenticationError ` is now found in the OidcError type.
32
+
32
33
- ` OidcAuthenticationData ` is now called ` OidcAuthorizationData ` .
34
+
33
35
- The ` get_element_call_required_permissions ` function now requires the device_id.
34
36
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
+
35
54
Additions:
36
55
37
56
- Add ` Encryption::get_user_identity ` which returns ` UserIdentity `
You can’t perform that action at this time.
0 commit comments