mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Add support for Space avatars. (#4362)
This commit is contained in:
@@ -69,6 +69,10 @@ extension BaseRoomInfoProxyProtocol {
|
||||
return .tombstoned
|
||||
}
|
||||
|
||||
if isSpace {
|
||||
return .space(id: id, name: displayName, avatarURL: avatarURL)
|
||||
}
|
||||
|
||||
if isDirect, avatarURL == nil, heroes.count == 1 {
|
||||
return .heroes(heroes.map(UserProfileProxy.init))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user