File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/components/ConversationSettings Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 4040 <MentionsSettings v-if =" !isNoteToSelf && !isOneToOne" :token =" token" :can-moderate =" canFullModerate" />
4141 <LinkShareSettings v-if =" !isNoteToSelf" :token =" token" :can-moderate =" canFullModerate" />
4242 <RecordingConsentSettings v-if =" !isNoteToSelf && !isOneToOneFormer && recordingConsentAvailable" :token =" token" :can-moderate =" selfIsOwnerOrModerator" />
43- <ExpirationSettings v-if =" !isOneToOneFormer" :token =" token" :can-moderate =" selfIsOwnerOrModerator" />
43+ <ExpirationSettings v-if =" !isOneToOneFormer && hasMessageExpirationFeature " :token =" token" :can-moderate =" selfIsOwnerOrModerator" />
4444 <BanSettings v-if =" supportBanV1 && canFullModerate" :token =" token" />
4545 </NcAppSettingsSection >
4646
@@ -268,6 +268,10 @@ export default {
268268 recordingConsentRequired () {
269269 return this .conversation .recordingConsent === CALL .RECORDING_CONSENT .ENABLED
270270 },
271+
272+ hasMessageExpirationFeature () {
273+ return hasTalkFeature (this .token , ' message-expiration' )
274+ },
271275 },
272276
273277 beforeMount () {
You can’t perform that action at this time.
0 commit comments