summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Service
diff options
context:
space:
mode:
authortobiasKaminsky <tobias@kaminsky.me>2019-12-05 09:45:07 +0100
committertobiasKaminsky <tobias@kaminsky.me>2019-12-05 09:45:07 +0100
commitfdaf9aed1f0c860ce09586599e368bb0f6300fa0 (patch)
tree79d9a75e43f74aece88f978d25ac886e37aaec76 /apps/files/lib/Service
parentc3d223fa58fdc23333fe68976edff538cf7dbeab (diff)
downloadnextcloud-server-fdaf9aed1f0c860ce09586599e368bb0f6300fa0.tar.gz
nextcloud-server-fdaf9aed1f0c860ce09586599e368bb0f6300fa0.zip
add id to editor of direct editing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Diffstat (limited to 'apps/files/lib/Service')
-rw-r--r--apps/files/lib/Service/DirectEditingService.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/lib/Service/DirectEditingService.php b/apps/files/lib/Service/DirectEditingService.php
index 7e906238d87..8f1defe315b 100644
--- a/apps/files/lib/Service/DirectEditingService.php
+++ b/apps/files/lib/Service/DirectEditingService.php
@@ -61,6 +61,7 @@ class DirectEditingService {
*/
foreach ($this->directEditingManager->getEditors() as $id => $editor) {
$capabilities['editors'][$id] = [
+ 'id' => $editor->getId(),
'name' => $editor->getName(),
'mimetypes' => $editor->getMimetypes(),
'optionalMimetypes' => $editor->getMimetypesOptional(),