diff --git a/src/components/ConversationSettings/BanSettings.vue b/src/components/ConversationSettings/BanSettings.vue new file mode 100644 index 00000000000..8465613912a --- /dev/null +++ b/src/components/ConversationSettings/BanSettings.vue @@ -0,0 +1,135 @@ + + + + + + + diff --git a/src/components/ConversationSettings/ConversationSettingsDialog.vue b/src/components/ConversationSettings/ConversationSettingsDialog.vue index f0e862f3ade..915452eb11f 100644 --- a/src/components/ConversationSettings/ConversationSettingsDialog.vue +++ b/src/components/ConversationSettings/ConversationSettingsDialog.vue @@ -40,6 +40,7 @@ + @@ -100,6 +101,7 @@ import NcAppSettingsDialog from '@nextcloud/vue/dist/Components/NcAppSettingsDia import NcAppSettingsSection from '@nextcloud/vue/dist/Components/NcAppSettingsSection.js' import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js' +import BanSettings from './BanSettings.vue' import BasicInfo from './BasicInfo.vue' import BotsSettings from './BotsSettings.vue' import BreakoutRoomsSettings from './BreakoutRoomsSettings.vue' @@ -122,11 +124,13 @@ const recordingEnabled = getCapabilities()?.spreed?.config?.call?.recording || f const recordingConsentCapability = getCapabilities()?.spreed?.features?.includes('recording-consent') const recordingConsent = getCapabilities()?.spreed?.config?.call?.['recording-consent'] !== CALL.RECORDING_CONSENT.OFF const supportFederationV1 = getCapabilities()?.spreed?.features?.includes('federation-v1') +const supportBanV1 = getCapabilities()?.spreed?.features?.includes('ban-v1') export default { name: 'ConversationSettingsDialog', components: { + BanSettings, BasicInfo, BotsSettings, BreakoutRoomsSettings, @@ -148,7 +152,10 @@ export default { setup() { const settingsStore = useSettingsStore() - return { settingsStore } + return { + settingsStore, + supportBanV1, + } }, data() {