diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-04-27 11:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 11:05:34 +0200 |
commit | 1738e17e204c813bc3ab970e18a94b415c41af41 (patch) | |
tree | 202f06b32ed14fe2a08ab446be9242ac15382bc3 /apps/federatedfilesharing | |
parent | a64681a0fed38eb1652ddf3dd9aeeefb2a021f11 (diff) | |
parent | 7a9469f282471168a48acdcbed84579bd93efa43 (diff) | |
download | nextcloud-server-1738e17e204c813bc3ab970e18a94b415c41af41.tar.gz nextcloud-server-1738e17e204c813bc3ab970e18a94b415c41af41.zip |
Merge pull request #19793 from nextcloud/bugfix/noid/link-to-federated-reshare
Fix resharing of federated shares that were created out of links
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r-- | apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php index 64e12fcd251..cfd759a4d19 100644 --- a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php +++ b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php @@ -43,6 +43,7 @@ use OCP\IRequest; use OCP\ISession; use OCP\IUserSession; use OCP\Share\IManager; +use OCP\Share\IShare; /** * Class MountPublicLinkController @@ -155,6 +156,7 @@ class MountPublicLinkController extends Controller { } $share->setSharedWith($shareWith); + $share->setShareType(IShare::TYPE_REMOTE); try { $this->federatedShareProvider->create($share); |