Skip to content

Commit e6ede18

Browse files
Merge pull request #10976 from nextcloud/backport/10974/stable26
[stable26] fix(settings): Remove notification settings for guests
2 parents b0f865a + 7830e9c commit e6ede18

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/ConversationSettings/ConversationSettingsDialog.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
{{ t('spreed', 'Always show the device preview screen before joining a call in this conversation.') }}
5050
</NcCheckboxRadioSwitch>
5151

52-
<NotificationsSettings :conversation="conversation" />
52+
<NotificationsSettings v-if="!isGuest" :conversation="conversation" />
5353
</NcAppSettingsSection>
5454

5555
<NcAppSettingsSection id="conversation-settings"
@@ -169,6 +169,10 @@ export default {
169169
return this.conversation.canEnableSIP
170170
},
171171

172+
isGuest() {
173+
return this.$store.getters.getActorType() === 'guests'
174+
},
175+
172176
token() {
173177
return this.$store.getters.getConversationSettingsToken()
174178
|| this.$store.getters.getToken()

0 commit comments

Comments
 (0)