Skip to content

Commit 3cb5cec

Browse files
authored
Merge pull request #10797 from nextcloud/fix/noid/hide-delete-message-button-from-guests
Fix(MessageButtonsBar): Hide delete message button for guests
2 parents 6014c09 + 35d86e6 commit 3cb5cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ export default {
485485
},
486486
487487
isDeleteable() {
488-
if (this.isConversationReadOnly) {
488+
if (this.isConversationReadOnly || this.participant.participantType === PARTICIPANT.TYPE.GUEST) {
489489
return false
490490
}
491491

0 commit comments

Comments
 (0)