mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Adopt the new latest event API. (#4779)
This commit is contained in:
@@ -73,7 +73,7 @@ class UserProfileScreenViewModel: UserProfileScreenViewModelType, UserProfileScr
|
||||
|
||||
private func loadProfile() async {
|
||||
async let profileResult = userSession.clientProxy.profile(for: state.userID)
|
||||
async let identityResult = userSession.clientProxy.userIdentity(for: state.userID)
|
||||
async let identityResult = userSession.clientProxy.userIdentity(for: state.userID, fallBackToServer: true)
|
||||
|
||||
switch await profileResult {
|
||||
case .success(let userProfile):
|
||||
|
||||
Reference in New Issue
Block a user