mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Allow markup in some voice chat toasts.
This commit is contained in:
parent
2bc2a0e459
commit
7b8e421996
1 changed files with 6 additions and 4 deletions
|
@ -701,11 +701,13 @@ void Panel::subscribeToChanges(not_null<Data::GroupCall*> real) {
|
|||
validateRecordingMark(recorded);
|
||||
Ui::ShowMultilineToast({
|
||||
.parentOverride = widget(),
|
||||
.text = { recorded
|
||||
? tr::lng_group_call_recording_started(tr::now)
|
||||
.text = (recorded
|
||||
? tr::lng_group_call_recording_started
|
||||
: (_call && _call->recordingStoppedByMe())
|
||||
? tr::lng_group_call_recording_saved(tr::now)
|
||||
: tr::lng_group_call_recording_stopped(tr::now) },
|
||||
? tr::lng_group_call_recording_saved
|
||||
: tr::lng_group_call_recording_stopped)(
|
||||
tr::now,
|
||||
Ui::Text::RichLangValue),
|
||||
});
|
||||
}, widget()->lifetime());
|
||||
validateRecordingMark(real->recordStartDate() != 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue