diff options
Diffstat (limited to 'lib/Service/RecordingService.php')
-rw-r--r-- | lib/Service/RecordingService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/RecordingService.php b/lib/Service/RecordingService.php index e74508cc3..e3f01bbfc 100644 --- a/lib/Service/RecordingService.php +++ b/lib/Service/RecordingService.php @@ -218,12 +218,12 @@ class RecordingService { ->setSharedWith($room->getToken()) ->setPermissions(\OCP\Constants::PERMISSION_READ); - $this->shareManager->createShare($share); + $share = $this->shareManager->createShare($share); $message = json_encode([ 'message' => 'file_shared', 'parameters' => [ - 'share' => (string) $file->getId(), + 'share' => $share->getId(), 'metaData' => [ 'mimeType' => $file->getMimeType(), 'messageType' => $this->getTypeOfShare($file->getMimeType()), |