Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-31 13:42:31 +0300
committerJoas Schilling <coding@schilljs.com>2022-08-31 13:42:31 +0300
commit85eb3b2920189af24f16d8a28503bddc32989b48 (patch)
tree353164bb1be66a9285b186ee358a1abcc1d4e9a3 /lib
parent809f448ef7ee58980c56bb70a48495efd1f26894 (diff)
Fix wording of undeliverable push notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Notification/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php
index 148ad3e912d..d758cae428f 100644
--- a/lib/private/Notification/Manager.php
+++ b/lib/private/Notification/Manager.php
@@ -305,7 +305,7 @@ class Manager implements IManager {
* users overload our infrastructure. For this reason we have to rate-limit the
* use of push notifications. If you need this feature, consider using Nextcloud Enterprise.
*/
- $isFairUse = $this->subscription->delegateHasValidSubscription() || $this->userManager->countSeenUsers() < 5000;
+ $isFairUse = $this->subscription->delegateHasValidSubscription() || $this->userManager->countSeenUsers() < 500;
$pushAllowed = $isFairUse ? 'yes' : 'no';
$this->cache->set('push_fair_use', $pushAllowed, 3600);
}