2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Show voice chat start time in service message.

This commit is contained in:
John Preston
2021-04-09 18:33:38 +04:00
parent 4ecd1049b2
commit ae74c8a6b8
4 changed files with 74 additions and 21 deletions

View File

@@ -1111,8 +1111,8 @@ auto HtmlWriter::Wrap::pushMessage(
}, [&](const ActionGroupCallScheduled &data) {
const auto dateText = FormatDateTime(data.date);
return isChannel
? "Voice chat is scheduled " + dateText
: (serviceFrom + " scheduled voice chat " + dateText);
? "Voice chat scheduled for " + dateText
: (serviceFrom + " scheduled a voice chat for " + dateText);
}, [](v::null_t) { return QByteArray(); });
if (!serviceText.isEmpty()) {