MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / migrateToOrMe

Method migrateToOrMe

Telegram/SourceFiles/data/data_peer.cpp:1282–1287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 13

setHistoryMethod · 0.45
AddMyChannelsBoxFunction · 0.45
IsOldForPinFunction · 0.45
ShowEditPermissionsFunction · 0.45
EditPeerInfoBoxMethod · 0.45
StartMethod · 0.45
requestGroupAroundMethod · 0.45
ShareInviteLinkActionFunction · 0.45
uploadMethod · 0.45
cancelUploadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected