Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add display name to sharee list
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky committed Jul 31, 2019
commit 42f00e80c7175ab199cb6d2bfae358c0cbb0517b
5 changes: 3 additions & 2 deletions apps/dav/lib/Connector/Sabre/ShareeList.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ public function __construct(array $shares) {
function xmlSerialize(Writer $writer) {
foreach ($this->shares as $share) {
$writer->startElement('{' . self::NS_NEXTCLOUD . '}sharee');
$writer->writeAttribute('type', $share->getShareType());
$writer->write($share->getSharedWith());
$writer->writeElement("id", $share->getSharedWith());
$writer->writeElement("displayName", $share->getSharedWithDisplayName());
$writer->writeElement('type', $share->getShareType());
$writer->endElement();
}
}
Expand Down