diff --git a/src/securejoin/bob.rs b/src/securejoin/bob.rs index fc07579f2..8e7099fbe 100644 --- a/src/securejoin/bob.rs +++ b/src/securejoin/bob.rs @@ -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 { .. } => { diff --git a/test-data/golden/test_broadcast_joining_golden_bob b/test-data/golden/test_broadcast_joining_golden_bob index 2dec03942..c03554492 100644 --- a/test-data/golden/test_broadcast_joining_golden_bob +++ b/test-data/golden/test_broadcast_joining_golden_bob @@ -1,5 +1,5 @@ InBroadcast#Chat#11: My Channel [1 member(s)] Icon: e9b6c7a78aa2e4f415644f55a553e73.png -------------------------------------------------------------------------------- -Msg#11: info (Contact#Contact#Info): You were invited to join this channel. Waiting for the channel owner's device to reply… [NOTICED][INFO] +Msg#11: info (Contact#Contact#Info): Establishing guaranteed end-to-end encryption, please wait… [NOTICED][INFO] Msg#12🔒: (Contact#Contact#10): Member Me added by Alice. [FRESH][INFO] --------------------------------------------------------------------------------