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

Improve participants sorting in voice chats.

This commit is contained in:
John Preston
2021-03-17 20:37:29 +04:00
parent db7b61a77b
commit 0684db9bd8
5 changed files with 44 additions and 10 deletions

View File

@@ -104,6 +104,7 @@ public:
void setJoinMutedLocally(bool muted);
[[nodiscard]] bool joinMuted() const;
[[nodiscard]] bool canChangeJoinMuted() const;
[[nodiscard]] bool joinedToTop() const;
private:
enum class ApplySliceSource {
@@ -158,6 +159,7 @@ private:
bool _joinMuted = false;
bool _canChangeJoinMuted = true;
bool _allParticipantsLoaded = false;
bool _joinedToTop = false;
};