aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/init.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/init.ts')
-rw-r--r--apps/files/src/init.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/files/src/init.ts b/apps/files/src/init.ts
index 430b17ae7ae..aa855ed69b2 100644
--- a/apps/files/src/init.ts
+++ b/apps/files/src/init.ts
@@ -20,7 +20,7 @@
*
*/
import MenuIcon from '@mdi/svg/svg/sun-compass.svg?raw'
-import { FileAction, addNewFileMenuEntry, registerFileAction } from '@nextcloud/files'
+import { FileAction, addNewFileMenuEntry, registerDavProperty, registerFileAction } from '@nextcloud/files'
import { action as deleteAction } from './actions/deleteAction'
import { action as downloadAction } from './actions/downloadAction'
@@ -41,6 +41,8 @@ import registerPreviewServiceWorker from './services/ServiceWorker.js'
import './init-templates'
+import { initLivePhotos } from './services/LivePhotos'
+
// Register file actions
registerFileAction(deleteAction)
registerFileAction(downloadAction)
@@ -63,3 +65,7 @@ registerRecentView()
// Register preview service worker
registerPreviewServiceWorker()
+
+registerDavProperty('nc:hidden', { nc: 'http://nextcloud.org/ns' })
+
+initLivePhotos()