diff --git a/src/chat.rs b/src/chat.rs index cbcdda81d..40abe7681 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -227,7 +227,7 @@ impl ChatId { /// This is an internal API, if **a user action** needs to get a chat /// [`ChatId::create_for_contact`] should be used as this also scales up the /// [`Contact`]'s origin. - pub async fn get_for_contact(context: &Context, contact_id: ContactId) -> Result { + pub(crate) async fn get_for_contact(context: &Context, contact_id: ContactId) -> Result { ChatIdBlocked::get_for_contact(context, contact_id, Blocked::Not) .await .map(|chat| chat.id)