| 1147 | PeerData::~PeerData() = default; |
| 1148 | |
| 1149 | void PeerData::updateFull() { |
| 1150 | if (!_lastFullUpdate |
| 1151 | || crl::now() > _lastFullUpdate + kUpdateFullPeerTimeout) { |
| 1152 | updateFullForced(); |
| 1153 | } |
| 1154 | } |
| 1155 | |
| 1156 | void PeerData::updateFullForced() { |
| 1157 | session().api().requestFullPeer(this); |
no outgoing calls
no test coverage detected