| 1154 | } |
| 1155 | |
| 1156 | void PeerData::updateFullForced() { |
| 1157 | session().api().requestFullPeer(this); |
| 1158 | if (const auto channel = asChannel()) { |
| 1159 | if (!channel->amCreator() && !channel->inviter) { |
| 1160 | session().api().chatParticipants().requestSelf(channel); |
| 1161 | } |
| 1162 | } |
| 1163 | } |
| 1164 | |
| 1165 | void PeerData::fullUpdated() { |
| 1166 | _lastFullUpdate = crl::now(); |
no test coverage detected