diff --git a/src/main.js b/src/main.js index 2d04682a06..7a4a171360 100644 --- a/src/main.js +++ b/src/main.js @@ -24,6 +24,7 @@ import Vue from 'vue' import { getRequestToken } from '@nextcloud/auth' +import { registerDavProperty } from '@nextcloud/files' import { sync } from 'vuex-router-sync' import { generateFilePath } from '@nextcloud/router' import '@nextcloud/dialogs/style.css' @@ -58,6 +59,8 @@ const getPreferenceFromPage = (key) => { return elem.value } +registerDavProperty('nc:share-attributes', { nc: 'http://nextcloud.org/ns' }) + store.commit('savePreference', { key: 'debug', value: loadState('mail', 'debug', false),