diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-07-09 08:00:03 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-07-14 16:08:05 +0200 |
commit | 7179002600ccde6d6757c068c9388430ed71a2f1 (patch) | |
tree | 5b0fd29678ce392db2764923d5f6bb393435d596 /lib/public/Federation/ICloudIdManager.php | |
parent | f43c2b45d8177e8c924b8f97f80c92164a3d5412 (diff) | |
download | nextcloud-server-7179002600ccde6d6757c068c9388430ed71a2f1.tar.gz nextcloud-server-7179002600ccde6d6757c068c9388430ed71a2f1.zip |
Allow to get a local cloud id without going through the contacts manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/Federation/ICloudIdManager.php')
-rw-r--r-- | lib/public/Federation/ICloudIdManager.php | 4 |
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 |