bump gomuks, fix profile issues caused by this

This commit is contained in:
Henry Hiles 2026-08-05 16:28:47 -04:00
commit ae5b6e2b40
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
8 changed files with 50 additions and 30 deletions

View file

@ -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,
);
}