mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove some more Auth() calls.
This commit is contained in:
@@ -130,17 +130,18 @@ public:
|
||||
void badMtprotoConfigurationError();
|
||||
|
||||
// Databases.
|
||||
Storage::Databases &databases() {
|
||||
[[nodiscard]] Storage::Databases &databases() {
|
||||
return *_databases;
|
||||
}
|
||||
|
||||
// Account component.
|
||||
Main::Account &activeAccount() const {
|
||||
[[nodiscard]] Main::Account &activeAccount() const {
|
||||
return *_account;
|
||||
}
|
||||
[[nodiscard]] bool exportPreventsQuit();
|
||||
|
||||
// Main::Session component.
|
||||
int unreadBadge() const;
|
||||
[[nodiscard]] int unreadBadge() const;
|
||||
bool unreadBadgeMuted() const;
|
||||
|
||||
// Media component.
|
||||
|
Reference in New Issue
Block a user