Add some new space properties. (#4544)

* Use the via property on SpaceRoom.

* Fall back to the canonical alias as a space room name if needs be.

* Use SpaceRoom.isDirect for computing the name/avatar.

* Pass in the parent space as a workaround for no restricted join rules.
This commit is contained in:
Doug
2025-09-26 10:03:11 +01:00
committed by GitHub
parent 3d5901f90d
commit 12dc6f42ba
30 changed files with 178 additions and 102 deletions
+4
View File
@@ -2880,6 +2880,10 @@ internal enum L10n {
internal static func screenSpaceListDetails(_ p1: Any, _ p2: Any) -> String {
return L10n.tr("Localizable", "screen_space_list_details", String(describing: p1), String(describing: p2))
}
/// %1$@ space
internal static func screenSpaceListParentSpace(_ p1: Any) -> String {
return L10n.tr("Localizable", "screen_space_list_parent_space", String(describing: p1))
}
/// Spaces
internal static var screenSpaceListTitle: String { return L10n.tr("Localizable", "screen_space_list_title") }
/// An error occurred when trying to start a chat