-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Always register the Notifier #14744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always register the Notifier #14744
Conversation
... so background jobs without a user can prepare push notifications Signed-off-by: Joas Schilling <[email protected]>
|
/backport to stable15 |
|
/backport to stable14 |
rullzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops...
| // Since notifications also work for non-admins we don't check this here. | ||
| $this->registerNotifier(); | ||
| } else if ($server->getGroupManager()->isAdmin($user->getUID())) { | ||
| if (!$server->getAppManager()->isEnabledForUser('notifications') && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is updateChecker only checked if the notifications is not enabled for Users?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because if you receive a notification, we do not show the JS popup. It is basically the fallback for when you dont have notifications enabled.
tacruc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't find any problems
|
backport to stable15 in #14749 |
|
I applied this manually on NC15 and got yesterday evening a push notification with an info about update of collabora 🎉 Thank you for finding the problem @nickvergessen |
|
/backport to stable14 |
|
backport to stable14 in #14783 |
... so background jobs without a user can prepare push notifications