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) {
|
function xmlSerialize(Writer $writer) {
|
||||||
foreach ($this->shares as $share) {
|
foreach ($this->shares as $share) {
|
||||||
$writer->startElement('{' . self::NS_NEXTCLOUD . '}sharee');
|
$writer->startElement('{' . self::NS_NEXTCLOUD . '}sharee');
|
||||||
$writer->writeAttribute('type', $share->getShareType());
|
$writer->writeElement("id", $share->getSharedWith());
|
||||||
$writer->write($share->getSharedWith());
|
$writer->writeElement("displayName", $share->getSharedWithDisplayName());
|
||||||
|
$writer->writeElement('type', $share->getShareType());
|
||||||
$writer->endElement();
|
$writer->endElement();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue