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

Improved management of online status from non-primary windows.

– The online status of the user should be checked and updated only
when the previous active window and the current active window both have
different sessions.
– Removed MainWindow::activeChangedHook since windows should not
change online status on their own on activating.
– Renamed Application::maybeActiveSession
to Application::maybePrimarySession.
– Added updating of online status on changing of the current account
since this seems to have been missed.
This commit is contained in:
23rd
2022-06-12 02:24:50 +03:00
parent 1d475ee727
commit fe7cffc509
8 changed files with 31 additions and 21 deletions

View File

@@ -114,7 +114,6 @@ protected:
void closeEvent(QCloseEvent *e) override;
void initHook() override;
void activeChangedHook() override;
void clearWidgetsHook() override;
private: