mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Access _authSession through activeAccount().
This commit is contained in:
@@ -55,8 +55,8 @@ std::unique_ptr<Manager> Create(System *system) {
|
||||
Manager::Manager(System *system)
|
||||
: Notifications::Manager(system)
|
||||
, _inputCheckTimer([=] { checkLastInput(); }) {
|
||||
subscribe(system->authSession()->downloader().taskFinished(), [this] {
|
||||
for_const (auto ¬ification, _notifications) {
|
||||
subscribe(system->session().downloader().taskFinished(), [this] {
|
||||
for (const auto ¬ification : _notifications) {
|
||||
notification->updatePeerPhoto();
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user