parent
05547086fb
commit
cebd8cbc19
3 changed files with 32 additions and 6 deletions
|
|
@ -569,7 +569,7 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> userSettings, QWidget *parent)
|
|||
hasNotifications = true;
|
||||
}
|
||||
|
||||
if (hasNotifications)
|
||||
if (hasNotifications && userSettings_->hasDesktopNotifications())
|
||||
http::client()->notifications(
|
||||
5,
|
||||
[this](const mtx::responses::Notifications &res,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue