Skip to content

Commit 9f57887

Browse files
Merge pull request #6005 from nextcloud/bugfix/5995/fix-displaying-moderation-options-in-one-to-ones
Fix displaying moderation options in one-to-ones
2 parents 18e49c8 + 43834cb commit 9f57887

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/ConversationSettings/ConversationSettingsDialog.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
container="#content-vue">
2929
<!-- description -->
3030
<AppSettingsSection
31+
v-if="showDescription"
3132
:title="t('spreed', 'Description')">
3233
<Description
33-
v-if="showDescription"
3434
:editable="canFullModerate"
3535
:description="description"
3636
:editing="isEditingDescription"
@@ -151,7 +151,9 @@ export default {
151151
},
152152
153153
canFullModerate() {
154-
return this.participantType === PARTICIPANT.TYPE.OWNER || this.participantType === PARTICIPANT.TYPE.MODERATOR
154+
return (this.participantType === PARTICIPANT.TYPE.OWNER
155+
|| this.participantType === PARTICIPANT.TYPE.MODERATOR)
156+
&& this.conversation.type !== CONVERSATION.TYPE.ONE_TO_ONE
155157
},
156158
157159
canDeleteConversation() {

0 commit comments

Comments
 (0)