aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Federation/ICloudIdManager.php
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2021-07-14 23:18:51 +0200
committerGitHub <noreply@github.com>2021-07-14 23:18:51 +0200
commit5a22b0ac6729079f22342befd75fa9a5265469cf (patch)
treeb501755a14dc892c041eccd0ddbfc26fb7c092b3 /lib/public/Federation/ICloudIdManager.php
parent81722d5655c96ab192918b0e088da59a20c51dff (diff)
parent7179002600ccde6d6757c068c9388430ed71a2f1 (diff)
downloadnextcloud-server-5a22b0ac6729079f22342befd75fa9a5265469cf.tar.gz
nextcloud-server-5a22b0ac6729079f22342befd75fa9a5265469cf.zip
Merge pull request #27884 from nextcloud/enh/cloud-id-local
Allow to get a local cloud id without going through the contacts manager
Diffstat (limited to 'lib/public/Federation/ICloudIdManager.php')
-rw-r--r--lib/public/Federation/ICloudIdManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Federation/ICloudIdManager.php b/lib/public/Federation/ICloudIdManager.php
index df7bd127baf..1612c03ba4a 100644
--- a/lib/public/Federation/ICloudIdManager.php
+++ b/lib/public/Federation/ICloudIdManager.php
@@ -46,12 +46,12 @@ interface ICloudIdManager {
* Get the cloud id for a remote user
*
* @param string $user
- * @param string $remote
+ * @param string|null $remote (optional since 23.0.0 for local users)
* @return ICloudId
*
* @since 12.0.0
*/
- public function getCloudId(string $user, string $remote): ICloudId;
+ public function getCloudId(string $user, ?string $remote): ICloudId;
/**
* Check if the input is a correctly formatted cloud id