mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Add a view to show the user's account from Element Classic. (#5361)
No presentation logic yet.
This commit is contained in:
@@ -68,10 +68,12 @@ class ClassicAppAccountManager {
|
||||
|
||||
return ClassicAppAccount(userID: userID,
|
||||
displayName: user?.displayName,
|
||||
avatarURL: user?.avatarURL.flatMap(URL.init(string:)),
|
||||
avatarURL: user?.avatarURL,
|
||||
serverName: serverName,
|
||||
homeserverURL: mxAccount.homeserverURL,
|
||||
cryptoStoreURL: cryptoStoreURL(for: userID),
|
||||
cryptoStorePassphrase: cryptoStorePassphrase)
|
||||
cryptoStorePassphrase: cryptoStorePassphrase.base64EncodedString(),
|
||||
accessToken: mxAccount.accessToken)
|
||||
}
|
||||
|
||||
private func loadUser(for mxAccount: ClassicAppMXAccount) -> ClassicAppMXUser? {
|
||||
|
||||
Reference in New Issue
Block a user