Mark RoomSummary extensions as nonisolated

The RoomSummary struct is nonisolated, so its CustomStringConvertible and
helper extensions should be too.
This commit is contained in:
Mauro Romito
2026-06-19 12:54:01 +02:00
committed by Mauro
parent 8a4e4d1903
commit f32b9eeb26
3 changed files with 3 additions and 7 deletions
@@ -80,7 +80,7 @@ nonisolated struct RoomSummary {
}
}
extension RoomSummary: CustomStringConvertible {
nonisolated extension RoomSummary: CustomStringConvertible {
var description: String {
"""
RoomSummary: - id: \(id) \
@@ -118,7 +118,7 @@ extension RoomSummary: CustomStringConvertible {
}
}
extension RoomSummary {
nonisolated extension RoomSummary {
/// An empty summary used when the room info is momentarily unavailable (e.g. while the client tears
/// down on logout). Keeps the diff indices aligned with the SDK instead of crashing.
nonisolated static func placeholder(room: Room) -> RoomSummary {