@@ -613,6 +613,7 @@ public protocol ClientProtocol {
613613 func login(username: String, password: String, initialDeviceName: String?, deviceId: String?) throws
614614 func logout() throws -> String?
615615 func notificationClient(processSetup: NotificationProcessSetup) throws -> NotificationClientBuilder
616+ func removeAvatar() throws
616617 func restoreSession(session: Session) throws
617618 func rooms() -> [Room]
618619 func searchUsers(searchTerm: String, limit: UInt64) throws -> SearchUsersResults
@@ -855,6 +856,14 @@ public class Client: ClientProtocol {
855856 )
856857 }
857858
859+ public func removeAvatar() throws {
860+ try
861+ rustCallWithError(FfiConverterTypeClientError.lift) {
862+ uniffi_matrix_sdk_ffi_fn_method_client_remove_avatar(self.pointer, $0
863+ )
864+ }
865+ }
866+
858867 public func restoreSession(session: Session) throws {
859868 try
860869 rustCallWithError(FfiConverterTypeClientError.lift) {
@@ -3791,6 +3800,7 @@ public protocol RoomListItemProtocol {
37913800 func latestEvent() async -> EventTimelineItem?
37923801 func name() -> String?
37933802 func roomInfo() async throws -> RoomInfo
3803+ func roomInfoBlocking() throws -> RoomInfo
37943804 func subscribe(settings: RoomSubscription?)
37953805 func unreadNotifications() -> UnreadNotificationsCount
37963806 func unsubscribe()
@@ -3941,6 +3951,16 @@ public class RoomListItem: RoomListItemProtocol {
39413951
39423952
39433953
3954+ public func roomInfoBlocking() throws -> RoomInfo {
3955+ return try FfiConverterTypeRoomInfo.lift(
3956+ try
3957+ rustCallWithError(FfiConverterTypeClientError.lift) {
3958+ uniffi_matrix_sdk_ffi_fn_method_roomlistitem_room_info_blocking(self.pointer, $0
3959+ )
3960+ }
3961+ )
3962+ }
3963+
39443964 public func subscribe(settings: RoomSubscription?) {
39453965 try!
39463966 rustCall() {
@@ -17614,6 +17634,9 @@ private var initializationResult: InitializationResult {
1761417634 if (uniffi_matrix_sdk_ffi_checksum_method_client_notification_client() != 16860) {
1761517635 return InitializationResult.apiChecksumMismatch
1761617636 }
17637+ if (uniffi_matrix_sdk_ffi_checksum_method_client_remove_avatar() != 41701) {
17638+ return InitializationResult.apiChecksumMismatch
17639+ }
1761717640 if (uniffi_matrix_sdk_ffi_checksum_method_client_restore_session() != 19558) {
1761817641 return InitializationResult.apiChecksumMismatch
1761917642 }
@@ -18064,6 +18087,9 @@ private var initializationResult: InitializationResult {
1806418087 if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_room_info() != 17731) {
1806518088 return InitializationResult.apiChecksumMismatch
1806618089 }
18090+ if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_room_info_blocking() != 48948) {
18091+ return InitializationResult.apiChecksumMismatch
18092+ }
1806718093 if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_subscribe() != 16638) {
1806818094 return InitializationResult.apiChecksumMismatch
1806918095 }
0 commit comments