| 1280 | } |
| 1281 | |
| 1282 | not_null<PeerData*> PeerData::migrateToOrMe() { |
| 1283 | if (const auto channel = migrateTo()) { |
| 1284 | return channel; |
| 1285 | } |
| 1286 | return this; |
| 1287 | } |
| 1288 | |
| 1289 | not_null<const PeerData*> PeerData::migrateToOrMe() const { |
| 1290 | if (const auto channel = migrateTo()) { |
no outgoing calls
no test coverage detected