| 1439 | } |
| 1440 | |
| 1441 | Window::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 | |
| 1450 | Window::Controller *Application::windowForShowingHistory( |
| 1451 | not_null<PeerData*> peer) const { |
no test coverage detected