diff options
author | Joas Schilling <coding@schilljs.com> | 2024-01-26 17:02:23 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-01-29 12:05:24 +0100 |
commit | b3bdf65e40d44dc6548ade11bc18fa1d6b0186e5 (patch) | |
tree | 272f6078e7414b1d4f887a2817f648015ef2794a /lib/Federation/BackendNotifier.php | |
parent | b26caa8cee82f7f28a71e557645a009d8f680db8 (diff) |
fix(federation): Send disinvite on remote user removal and remove invite
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Federation/BackendNotifier.php')
-rw-r--r-- | lib/Federation/BackendNotifier.php | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/lib/Federation/BackendNotifier.php b/lib/Federation/BackendNotifier.php index 2ca4fb9e3..db4d9c9af 100644 --- a/lib/Federation/BackendNotifier.php +++ b/lib/Federation/BackendNotifier.php @@ -132,7 +132,12 @@ class BackendNotifier { * * @return bool success */ - public function sendShareAccepted(string $remoteServerUrl, int $remoteAttendeeId, string $accessToken): bool { + public function sendShareAccepted( + string $remoteServerUrl, + int $remoteAttendeeId, + #[SensitiveParameter] + string $accessToken, + ): bool { $remote = $this->prepareRemoteUrl($remoteServerUrl); $notification = $this->cloudFederationFactory->getCloudFederationNotification(); @@ -160,7 +165,12 @@ class BackendNotifier { * The invited participant declined joining the federated room * Sent from Remote participant server to Host server */ - public function sendShareDeclined(string $remoteServerUrl, int $remoteAttendeeId, string $accessToken): bool { + public function sendShareDeclined( + string $remoteServerUrl, + int $remoteAttendeeId, + #[SensitiveParameter] + string $accessToken, + ): bool { $remote = $this->prepareRemoteUrl($remoteServerUrl); $notification = $this->cloudFederationFactory->getCloudFederationNotification(); @@ -185,7 +195,12 @@ class BackendNotifier { return true; } - public function sendRemoteUnShare(string $remoteServerUrl, int $localAttendeeId, string $accessToken): void { + public function sendRemoteUnShare( + string $remoteServerUrl, + int $localAttendeeId, + #[SensitiveParameter] + string $accessToken, + ): void { $remote = $this->prepareRemoteUrl($remoteServerUrl); $notification = $this->cloudFederationFactory->getCloudFederationNotification(); |