correct summary for videochat-invites

This commit is contained in:
B. Petersen
2020-07-20 15:01:25 +02:00
parent 4227dec127
commit f39abd6d51
3 changed files with 13 additions and 2 deletions

View File

@@ -1249,6 +1249,13 @@ pub async fn get_summarytext_by_raw(
format!("{} {}", label, file_name)
}
}
Viewtype::VideochatInvitation => {
append_text = false;
context
.stock_str(StockMessage::VideochatInvitation)
.await
.into_owned()
}
_ => {
if param.get_cmd() != SystemMessage::LocationOnly {
"".to_string()