2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Show 'about' in voice chats for everyone.

This commit is contained in:
John Preston
2021-03-10 19:33:51 +04:00
parent ecbbdd5e74
commit cd8c9a58df
3 changed files with 25 additions and 19 deletions

View File

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