This commit is contained in:
B. Petersen
2020-07-23 23:49:05 +02:00
parent 04c90e2d87
commit c43f6964c5
3 changed files with 4 additions and 4 deletions

View File

@@ -1615,7 +1615,7 @@ pub async fn send_text_msg(
pub async fn send_videochat_invitation(context: &Context, chat_id: ChatId) -> Result<MsgId, Error> {
ensure!(
!chat_id.is_special(),
"videochat invitation cannot be sent to special chat: {}",
"video chat invitation cannot be sent to special chat: {}",
chat_id
);

View File

@@ -211,10 +211,10 @@ pub enum StockMessage {
#[strum(props(fallback = "Message deletion timer is set to 4 weeks."))]
MsgEphemeralTimerFourWeeks = 81,
#[strum(props(fallback = "Videochat invitation"))]
#[strum(props(fallback = "Video chat invitation"))]
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,
}