mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add support for Space avatars. (#4362)
This commit is contained in:
@@ -570,7 +570,8 @@ class TimelineController: TimelineControllerProtocol {
|
||||
attachments: nil)
|
||||
|
||||
let avatarURL: URL? = switch roomProxy.details.avatar {
|
||||
case .room(_, _, let avatarURL):
|
||||
case .room(_, _, let avatarURL),
|
||||
.space(_, _, let avatarURL):
|
||||
avatarURL
|
||||
case .heroes(let userProfiles):
|
||||
userProfiles.first?.avatarURL
|
||||
|
||||
Reference in New Issue
Block a user