Use translatable message for broadcast-joining

This commit is contained in:
Hocuri
2025-08-07 17:10:25 +02:00
parent 3d5e97eced
commit a858709301
2 changed files with 3 additions and 4 deletions

View File

@@ -164,9 +164,8 @@ pub(super) async fn start_protocol(context: &Context, invite: QrInvite) -> Resul
.await?;
}
// TODO this message should be translatable:
let msg = "You were invited to join this channel. Waiting for the channel owner's device to reply…";
chat::add_info_msg(context, joining_chat_id, msg, time()).await?;
let msg = stock_str::securejoin_wait(context).await;
chat::add_info_msg(context, joining_chat_id, &msg, time()).await?;
Ok(joining_chat_id)
}
QrInvite::Contact { .. } => {