mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Add support for Space avatars. (#4362)
This commit is contained in:
@@ -134,6 +134,11 @@ extension RoomSummary {
|
||||
return .tombstoned
|
||||
}
|
||||
|
||||
// NOTE: The check for isSpace isn't implemented yet, waiting to see
|
||||
// whether we end up with a different type for spaces in the room list.
|
||||
//
|
||||
// Don't forget to add a test when you remove this comment 😄
|
||||
|
||||
if isDirect, avatarURL == nil, heroes.count == 1 {
|
||||
return .heroes(heroes)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user