mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Update the SDK and use RoomHero.status and subscribeToOwnProfile. (#5905)
* Update the SDK and hook up the status from Room Heroes. Also start requesting profiles via sss when the feature flag is enabled. * Add support for subscribing to your own profile.
This commit is contained in:
@@ -47,7 +47,7 @@ nonisolated struct UserProfile: Hashable, Identifiable {
|
||||
id = rustRoomHero.userId
|
||||
displayName = rustRoomHero.displayName
|
||||
avatarURL = rustRoomHero.avatarUrl.flatMap(URL.init(string:))
|
||||
status = .init() // Requires https://github.com/matrix-org/matrix-rust-sdk/pull/6733
|
||||
status = .init(rustStatus: rustRoomHero.status, rustCall: rustRoomHero.call)
|
||||
}
|
||||
|
||||
init(member: RoomMemberProxyProtocol) {
|
||||
|
||||
Reference in New Issue
Block a user