2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Support topic icon display in topic profile.

This commit is contained in:
John Preston
2022-10-18 16:38:43 +04:00
parent fcc4503791
commit df5602d203
26 changed files with 317 additions and 119 deletions

View File

@@ -1144,14 +1144,6 @@ bool Application::hasActiveWindow(not_null<Main::Session*> session) const {
return false;
}
void Application::saveCurrentDraftsToHistories() {
if (!_primaryWindow) {
return;
} else if (const auto controller = _primaryWindow->sessionController()) {
controller->content()->saveFieldToHistoryLocalDraft();
}
}
Window::Controller *Application::primaryWindow() const {
return _primaryWindow.get();
}