add display name to sharee list
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
21477bca77
commit
42f00e80c7
|
@ -52,8 +52,9 @@ class ShareeList implements XmlSerializable {
|
|||
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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue