From 719236ae1a4ef1d9bcbb3c28e3644985cbfe51d4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 5 Dec 2024 16:33:58 +0100 Subject: [PATCH] fixup! fixup! fix(federation) Implement new federation method to validate origin of OCM messages --- lib/Federation/CloudFederationProviderTalk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Federation/CloudFederationProviderTalk.php b/lib/Federation/CloudFederationProviderTalk.php index 256a11b6902..423b19c650a 100644 --- a/lib/Federation/CloudFederationProviderTalk.php +++ b/lib/Federation/CloudFederationProviderTalk.php @@ -648,7 +648,7 @@ public function getFederationIdsFromSharedSecret( ): array { try { $invite = $this->invitationMapper->getByRemoteServerOnlyWithAccessToken($payload['remoteServerUrl'], $sharedSecret); - return [$invite->getLocalCloudId(), $invite->getInviterCloudId()]; + return [$invite->getInviterCloudId()]; } catch (DoesNotExistException) { }