]> source.dussan.org Git - nextcloud-server.git/commitdiff
Expose editor id for creators
authorJulius Härtl <jus@bitgrid.net>
Tue, 26 Nov 2019 12:56:38 +0000 (13:56 +0100)
committerJulius Härtl <jus@bitgrid.net>
Wed, 27 Nov 2019 18:56:44 +0000 (19:56 +0100)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files/lib/Capabilities.php

index 270c6954a1ae351c4a1a6efb3090a0738a5211d7..1318a56f717b2a0d25d27625b6b3e372800607ff 100644 (file)
@@ -100,6 +100,7 @@ class Capabilities implements ICapability {
                                $id = $creator->getId();
                                $capabilities['creators'][$id] = [
                                        'id' => $id,
+                                       'editor' => $editor->getId(),
                                        'name' => $creator->getName(),
                                        'extension' => $creator->getExtension(),
                                        'templates' => $creator instanceof ACreateFromTemplate,