diff options
author | Joas Schilling <coding@schilljs.com> | 2022-05-06 18:37:54 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-07-01 12:06:04 +0300 |
commit | 5154abb4d9e98054f7309f58248ddc7c32c0f429 (patch) | |
tree | da9e357a457cc278c8d08df42c4325b0ecebbfdb /lib/Capabilities.php | |
parent | 0bb2cab838762a644666914f7916688873733582 (diff) |
Allow the HPB to group session pinging across rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Capabilities.php')
-rw-r--r-- | lib/Capabilities.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Capabilities.php b/lib/Capabilities.php index 27c3169f4..bce5ffa09 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -113,7 +113,10 @@ class Capabilities implements IPublicCapability { ], 'conversations' => [], 'previews' => [ - 'max-gif-size' => (int)$this->serverConfig->getAppValue('spreed', 'max-gif-size', '3145728') + 'max-gif-size' => (int)$this->serverConfig->getAppValue('spreed', 'max-gif-size', '3145728'), + ], + 'signaling' => [ + 'session-ping-limit' => max(0, (int)$this->serverConfig->getAppValue('spreed', 'session-ping-limit', '200')), ], ], ]; |