diff options
author | 2025-06-07 17:36:22 +0100 | |
---|---|---|
committer | 2025-06-07 17:36:22 +0100 | |
commit | 36e87b708ed3a2b0d6f2e932509b0fdf10fe0089 (patch) | |
tree | 5f3fc5a3d863f52a82a204a7746532202103d7cc /src/contact.rs | |
parent | 4a5aa6579f5184c443ffbe80ce93e0daa0926826 (diff) | |
download | macaw-web-36e87b708ed3a2b0d6f2e932509b0fdf10fe0089.tar.gz macaw-web-36e87b708ed3a2b0d6f2e932509b0fdf10fe0089.tar.bz2 macaw-web-36e87b708ed3a2b0d6f2e932509b0fdf10fe0089.zip |
fix: avatar flashing from avatar load
Diffstat (limited to 'src/contact.rs')
-rw-r--r-- | src/contact.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contact.rs b/src/contact.rs index 9adec16..e0e0d78 100644 --- a/src/contact.rs +++ b/src/contact.rs @@ -41,9 +41,9 @@ pub struct ArcMacawContact { } impl ArcMacawContact { - pub fn got_contact_and_user(contact: Contact, user: User) -> Self { + pub async fn got_contact_and_user(contact: Contact, user: User) -> Self { let contact = Store::new(contact); - let user = ArcMacawUser::got_user(user); + let user = ArcMacawUser::got_user(user).await; Self { contact, user } } } |