| 99 | } |
| 100 | |
| 101 | bool ChatData::canBanMembers() const { |
| 102 | return amCreator() |
| 103 | || (adminRights() & ChatAdminRight::BanUsers); |
| 104 | } |
| 105 | |
| 106 | bool ChatData::anyoneCanAddMembers() const { |
| 107 | return !(defaultRestrictions() & ChatRestriction::AddParticipants); |
no outgoing calls
no test coverage detected