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) { }