💡 Add comments to keep in mind why we can't send Matrix sdk Room

This commit is contained in:
2024-05-18 09:52:40 +02:00
parent fdae149c4a
commit 54c7073b98

View File

@@ -132,6 +132,7 @@ impl Client {
let (reply, mut response) = oneshot::<bool>();
// We can't use Room instance here, because dyn PaginableRoom is not Sync
let event = AccountEvent::NewSpace(
room_id.clone(),
name.clone(),
@@ -194,6 +195,7 @@ impl Client {
}
}
// We can't use Room instance here, because dyn PaginableRoom is not Sync
let event = AccountEvent::NewRoom(
room_id.clone(),
parents.clone(),
@@ -327,7 +329,6 @@ impl Client {
}
// This function is called on each m.room.member event for an invited room preview (room not already joined).
// async fn on_stripped_room_member_event(
async fn on_stripped_room_member_event(
ev: StrippedRoomMemberEvent,
matrix_client: MatrixClient,