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

Function ApplyMigration

Telegram/SourceFiles/data/data_channel.cpp:1242–1249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1240namespace Data {
1241
1242void ApplyMigration(
1243 not_null<ChatData*> chat,
1244 not_null<ChannelData*> channel) {
1245 Expects(channel->isMegagroup());
1246
1247 chat->setMigrateToChannel(channel);
1248 channel->setMigrateFromChat(chat);
1249}
1250
1251void ApplyChannelUpdate(
1252 not_null<ChannelData*> channel,

Callers 3

ApplyChannelUpdateFunction · 0.85
processChatMethod · 0.85
applyServiceChangesMethod · 0.85

Calls 3

setMigrateToChannelMethod · 0.80
setMigrateFromChatMethod · 0.80
isMegagroupMethod · 0.45

Tested by

no test coverage detected