Load member profiles through the timeline (#522)

This commit is contained in:
Stefan Ceriu
2023-02-03 12:12:36 +02:00
committed by GitHub
parent 3f900df3de
commit 183cc88114
8 changed files with 34 additions and 78 deletions
@@ -51,12 +51,8 @@ protocol RoomProxyProtocol {
var avatarURL: URL? { get }
func avatarURLForUserId(_ userId: String) -> URL?
func loadAvatarURLForUserId(_ userId: String) async -> Result<URL?, RoomProxyError>
func displayNameForUserId(_ userId: String) -> String?
func loadDisplayNameForUserId(_ userId: String) async -> Result<String?, RoomProxyError>
func addTimelineListener(listener: TimelineListener) -> Result<Void, RoomProxyError>