Skip to content

Commit

Permalink
Merge pull request #14141 from nextcloud/bugfix/noid/fix-federation-f…
Browse files Browse the repository at this point in the history
…rom-main-to-other

fix(federation): Fix protocol handling of invitations
  • Loading branch information
miaulalala authored Jan 16, 2025
2 parents 85a1fb6 + 4ea7001 commit eb3e20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Federation/CloudFederationProviderTalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ public function getFederationIdFromSharedSecret(
}

try {
$invite = $this->invitationMapper->getByRemoteServerAndAccessToken($remoteServerUrl, $sharedSecret);
$invite = $this->invitationMapper->getByRemoteServerAndAccessToken($payload['remoteServerUrl'], $sharedSecret);
return $invite->getInviterCloudId();
} catch (DoesNotExistException) {
}
Expand Down

0 comments on commit eb3e20a

Please sign in to comment.