mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Support groups in privacy settings.
This commit is contained in:
@@ -131,9 +131,12 @@ public:
|
||||
}
|
||||
|
||||
int membersCount() const {
|
||||
return _membersCount;
|
||||
return std::max(_membersCount, 1);
|
||||
}
|
||||
void setMembersCount(int newMembersCount);
|
||||
bool membersCountKnown() const {
|
||||
return (_membersCount >= 0);
|
||||
}
|
||||
|
||||
int adminsCount() const {
|
||||
return _adminsCount;
|
||||
@@ -364,7 +367,7 @@ private:
|
||||
|
||||
PtsWaiter _ptsWaiter;
|
||||
|
||||
int _membersCount = 1;
|
||||
int _membersCount = -1;
|
||||
int _adminsCount = 1;
|
||||
int _restrictedCount = 0;
|
||||
int _kickedCount = 0;
|
||||
|
Reference in New Issue
Block a user