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

Method windowFor

Telegram/SourceFiles/core/application.cpp:1441–1448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1439}
1440
1441Window::Controller *Application::windowFor(Window::SeparateId id) const {
1442 if (const auto separate = separateWindowFor(id)) {
1443 return separate;
1444 } else if (id && !id.primary()) {
1445 return windowFor(not_null(id.account));
1446 }
1447 return activePrimaryWindow();
1448}
1449
1450Window::Controller *Application::windowForShowingHistory(
1451 not_null<PeerData*> peer) const {

Callers 15

ShowForPeerFunction · 0.80
ShowChannelsLimitBoxFunction · 0.80
searchMessagesMethod · 0.80
createPlayerMethod · 0.80
findWindowMethod · 0.80
PrepareShortInfoBoxFunction · 0.80
showNextMethod · 0.80
ShowForwardMessagesBoxFunction · 0.80
GiftReleasedByHandlerFunction · 0.80
ChangeFilterByIdFunction · 0.80
ApplyAccountIndexFunction · 0.80

Calls 1

primaryMethod · 0.80

Tested by

no test coverage detected