| 892 | } |
| 893 | |
| 894 | void ShareBox::Inner::invalidateCache() { |
| 895 | for (const auto &[peer, data] : _dataMap) { |
| 896 | data->checkbox.invalidateCache(); |
| 897 | } |
| 898 | } |
| 899 | |
| 900 | bool ShareBox::Inner::showLockedError(not_null<Chat*> chat) { |
| 901 | if (!chat->restriction.premiumRequired) { |
no outgoing calls
no test coverage detected