fix: Make broadcast owner and subscriber hidden contacts for each other (#7856)

This commit is contained in:
iequidoo
2026-03-04 12:16:02 -03:00
committed by iequidoo
parent 89b5675b83
commit 0c4e32363e
5 changed files with 42 additions and 8 deletions

View File

@@ -257,7 +257,11 @@ impl ChatId {
ChatIdBlocked::get_for_contact(context, contact_id, create_blocked)
.await
.map(|chat| chat.id)?;
ContactId::scaleup_origin(context, &[contact_id], Origin::CreateChat).await?;
if create_blocked != Blocked::Yes {
info!(context, "Scale up origin of {contact_id} to CreateChat.");
ContactId::scaleup_origin(context, &[contact_id], Origin::CreateChat)
.await?;
}
chat_id
} else {
warn!(