diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-12-01 10:33:14 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-03 10:09:51 +0300 |
commit | 4c31101171ed91a30d9e0fc46233ce7c2ec735ff (patch) | |
tree | e02c6d2430dec7ebf3c86a5972474a77be808d85 /lib | |
parent | e63a68127db78dbc6530664903a95ab0a27e4000 (diff) |
Expose app version through capabilities
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Capabilities.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Capabilities.php b/lib/Capabilities.php index e8ad527a..3cd1b8c5 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -91,6 +91,7 @@ class Capabilities implements ICapability { $collaboraCapabilities = $this->capabilitiesService->getCapabilities(); $this->capabilities = [ 'richdocuments' => [ + 'version' => \OC::$server->getAppManager()->getAppVersion('richdocuments'), 'mimetypes' => self::MIMETYPES, 'mimetypesNoDefaultOpen' => self::MIMETYPES_OPTIONAL, 'collabora' => $collaboraCapabilities, |