mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 07:16:31 +03:00
wording
This commit is contained in:
@@ -725,7 +725,7 @@ pub unsafe extern "C" fn dc_send_videochat_invitation(
|
|||||||
chat::send_videochat_invitation(&ctx, ChatId::new(chat_id))
|
chat::send_videochat_invitation(&ctx, ChatId::new(chat_id))
|
||||||
.await
|
.await
|
||||||
.map(|msg_id| msg_id.to_u32())
|
.map(|msg_id| msg_id.to_u32())
|
||||||
.unwrap_or_log_default(&ctx, "Failed to send videochat invitation")
|
.unwrap_or_log_default(&ctx, "Failed to send video chat invitation")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1615,7 +1615,7 @@ pub async fn send_text_msg(
|
|||||||
pub async fn send_videochat_invitation(context: &Context, chat_id: ChatId) -> Result<MsgId, Error> {
|
pub async fn send_videochat_invitation(context: &Context, chat_id: ChatId) -> Result<MsgId, Error> {
|
||||||
ensure!(
|
ensure!(
|
||||||
!chat_id.is_special(),
|
!chat_id.is_special(),
|
||||||
"videochat invitation cannot be sent to special chat: {}",
|
"video chat invitation cannot be sent to special chat: {}",
|
||||||
chat_id
|
chat_id
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -211,10 +211,10 @@ pub enum StockMessage {
|
|||||||
#[strum(props(fallback = "Message deletion timer is set to 4 weeks."))]
|
#[strum(props(fallback = "Message deletion timer is set to 4 weeks."))]
|
||||||
MsgEphemeralTimerFourWeeks = 81,
|
MsgEphemeralTimerFourWeeks = 81,
|
||||||
|
|
||||||
#[strum(props(fallback = "Videochat invitation"))]
|
#[strum(props(fallback = "Video chat invitation"))]
|
||||||
VideochatInvitation = 82,
|
VideochatInvitation = 82,
|
||||||
|
|
||||||
#[strum(props(fallback = "You are invited to an videochat, click %1$s to join."))]
|
#[strum(props(fallback = "You are invited to a video chat, click %1$s to join."))]
|
||||||
VideochatInviteMsgBody = 83,
|
VideochatInviteMsgBody = 83,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user