mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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