2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Add manage_call admin right support.

This commit is contained in:
John Preston
2020-11-28 10:21:11 +03:00
parent d18b29efb8
commit 7983d33ad5
10 changed files with 24 additions and 8 deletions

View File

@@ -212,8 +212,8 @@ void GroupCall::applyParticipantsSlice(
});
}
ranges::sort(_participants, std::greater<>(), [](const Participant &p) {
return p.lastActivePrecise
? p.lastActivePrecise
return p.lastSpoke
? p.lastSpoke
: p.lastActive
? p.lastActive
: p.date;