File tree 3 files changed +3
-2
lines changed
bindings/matrix-sdk-ffi/src
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ impl Encryption {
281
281
}
282
282
283
283
pub async fn is_last_device ( & self ) -> Result < bool > {
284
- Ok ( self . inner . recovery ( ) . are_we_the_last_man_standing ( ) . await ?)
284
+ Ok ( self . inner . recovery ( ) . is_last_device ( ) . await ?)
285
285
}
286
286
287
287
pub async fn wait_for_backup_upload_steady_state (
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ All notable changes to this project will be documented in this file.
28
28
call ` AttachmentConfig::new().thumbnail(thumbnail) ` now instead.
29
29
- [ ** breaking** ] ` Room::send_attachment() ` and ` RoomSendQueue::send_attachment() `
30
30
now take any type that implements ` Into<String> ` for the filename.
31
+ - [ ** breaking** ] ` Recovery::are_we_the_last_man_standing() ` has been renamed to ` is_last_device() ` .
31
32
32
33
## [ 0.9.0] - 2024-12-18
33
34
Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ impl Recovery {
462
462
/// If the user does not enable recovery before logging out of their last
463
463
/// device, they will not be able to decrypt historic messages once they
464
464
/// create a new device.
465
- pub async fn are_we_the_last_man_standing ( & self ) -> Result < bool > {
465
+ pub async fn is_last_device ( & self ) -> Result < bool > {
466
466
let olm_machine = self . client . olm_machine ( ) . await ;
467
467
let olm_machine = olm_machine. as_ref ( ) . ok_or ( crate :: Error :: NoOlmMachine ) ?;
468
468
let user_id = olm_machine. user_id ( ) ;
You can’t perform that action at this time.
0 commit comments