diff options
author | Joas Schilling <coding@schilljs.com> | 2024-03-27 13:52:13 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-03-27 17:14:40 +0100 |
commit | ff5ab2d30b8573e095f96754646d22e5b4cfce13 (patch) | |
tree | 66dba14e745b567ff6fe029210403402062d7beb /lib/Federation/CloudFederationProviderTalk.php | |
parent | 0afabdecf29f700e038755c95ab59dc202a2c472 (diff) |
feat(federation): Expose a header with the pending invitations on room list
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Federation/CloudFederationProviderTalk.php')
-rw-r--r-- | lib/Federation/CloudFederationProviderTalk.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Federation/CloudFederationProviderTalk.php b/lib/Federation/CloudFederationProviderTalk.php index 5c9e2c824..20bb51f38 100644 --- a/lib/Federation/CloudFederationProviderTalk.php +++ b/lib/Federation/CloudFederationProviderTalk.php @@ -28,6 +28,7 @@ namespace OCA\Talk\Federation; use Exception; use OCA\FederatedFileSharing\AddressHandler; use OCA\Talk\AppInfo\Application; +use OCA\Talk\CachePrefix; use OCA\Talk\Config; use OCA\Talk\Events\AAttendeeRemovedEvent; use OCA\Talk\Events\ARoomModifiedEvent; @@ -97,7 +98,7 @@ class CloudFederationProviderTalk implements ICloudFederationProvider { private UserConverter $userConverter, ICacheFactory $cacheFactory, ) { - $this->proxyCacheMessages = $cacheFactory->isAvailable() ? $cacheFactory->createDistributed('talk/pcm/') : null; + $this->proxyCacheMessages = $cacheFactory->isAvailable() ? $cacheFactory->createDistributed(CachePrefix::FEDERATED_PCM) : null; } /** |