forked from Nexus/nexus
bump gomuks, fix profile issues caused by this
This commit is contained in:
parent
1621e917c0
commit
ae5b6e2b40
8 changed files with 50 additions and 30 deletions
|
|
@ -27,14 +27,15 @@ class UserController extends AsyncNotifier<MembershipContent> {
|
|||
return content;
|
||||
}
|
||||
|
||||
final profile = await ref.watch(
|
||||
final profileResponse = await ref.watch(
|
||||
ProfileController.provider(config.userId).future,
|
||||
);
|
||||
|
||||
return .new(
|
||||
status: .leave,
|
||||
avatarUrl: profile.avatarUrl,
|
||||
displayName: profile.displayName ?? config.userId.localpart,
|
||||
avatarUrl: profileResponse.profile.avatarUrl,
|
||||
displayName:
|
||||
profileResponse.profile.displayName ?? config.userId.localpart,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue