summaryrefslogtreecommitdiffstats
path: root/src/contact.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.rs')
-rw-r--r--src/contact.rs4
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 }
}
}