2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Show about in voice chat channels.

This commit is contained in:
John Preston
2021-03-05 21:52:48 +04:00
parent bc43168ca7
commit ef1d98f3cf
2 changed files with 37 additions and 1 deletions

View File

@@ -271,6 +271,11 @@ void GroupCall::applyParticipantsSlice(
}
return;
}
if (const auto about = data.vabout()) {
if (const auto channel = participantPeer->asChannel()) {
channel->setAbout(qs(*about));
}
}
const auto was = (i != end(_participants))
? std::make_optional(*i)
: std::nullopt;