mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-02 02:07:54 +00:00
Add unread unmuted counter to main menu cover.
This commit is contained in:
@@ -615,9 +615,7 @@ Main::Account &Application::activeAccount() const {
|
||||
}
|
||||
|
||||
Main::Session *Application::maybeActiveSession() const {
|
||||
return (_domain->started() && activeAccount().sessionExists())
|
||||
? &activeAccount().session()
|
||||
: nullptr;
|
||||
return _domain->started() ? activeAccount().maybeSession() : nullptr;
|
||||
}
|
||||
|
||||
bool Application::exportPreventsQuit() {
|
||||
|
||||
Reference in New Issue
Block a user