Bump matrix-sdk dependency to 0.10.0 (#397)

This commit is contained in:
Ken Rachynski 2025-05-15 18:56:35 -06:00 committed by GitHub
parent 6529e61963
commit 93502f9993
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 656 additions and 284 deletions

View file

@ -419,7 +419,7 @@ impl RoomState {
// Try creating the room alias on the server.
let alias_create_req =
CreateAliasRequest::new(orai.clone(), room.room_id().into());
if let Err(e) = client.send(alias_create_req, None).await {
if let Err(e) = client.send(alias_create_req).await {
if let Some(ClientApiErrorKind::Unknown) = e.client_api_error_kind() {
// Ignore when it already exists.
} else {
@ -460,7 +460,7 @@ impl RoomState {
// If the room alias does not exist on the server, create it
let alias_create_req = CreateAliasRequest::new(orai, room.room_id().into());
if let Err(e) = client.send(alias_create_req, None).await {
if let Err(e) = client.send(alias_create_req).await {
if let Some(ClientApiErrorKind::Unknown) = e.client_api_error_kind() {
// Ignore when it already exists.
} else {
@ -535,7 +535,7 @@ impl RoomState {
.application
.worker
.client
.send(del_req, None)
.send(del_req)
.await
.map_err(IambError::from)?;
},
@ -568,7 +568,7 @@ impl RoomState {
.application
.worker
.client
.send(del_req, None)
.send(del_req)
.await
.map_err(IambError::from)?;
},
@ -591,7 +591,7 @@ impl RoomState {
let msg = match field {
RoomField::History => {
let visibility = room.history_visibility();
format!("Room history visibility: {visibility}")
format!("Room history visibility: {visibility:?}")
},
RoomField::Id => {
let id = room.room_id();