diff options
author | Joas Schilling <coding@schilljs.com> | 2024-03-25 14:07:19 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-03-25 16:32:09 +0100 |
commit | a5b1eb6692f3914ddecb5ecb4e8bdd94a5616a5c (patch) | |
tree | d22cab7f05b05fa625ab5dacc47d159b399d02d7 /lib/Federation/BackendNotifier.php | |
parent | b1c6fc3ebd35242b8e1770219e3d15caa5a81ae8 (diff) |
fix(federation): Prevent duplicated invites with different casing and heal the cloudId
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Federation/BackendNotifier.php')
-rw-r--r-- | lib/Federation/BackendNotifier.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Federation/BackendNotifier.php b/lib/Federation/BackendNotifier.php index a70d8e4be..83f11e934 100644 --- a/lib/Federation/BackendNotifier.php +++ b/lib/Federation/BackendNotifier.php @@ -148,6 +148,7 @@ class BackendNotifier { #[SensitiveParameter] string $accessToken, string $displayName, + string $cloudId, ): bool { $remote = $this->prepareRemoteUrl($remoteServerUrl); @@ -161,6 +162,7 @@ class BackendNotifier { 'sharedSecret' => $accessToken, 'message' => 'Recipient accepted the share', 'displayName' => $displayName, + 'cloudId' => $cloudId, ] ); |