Skip to content

Commit

Permalink
Merge pull request #10807 from nextcloud/backport/10797/stable26
Browse files Browse the repository at this point in the history
[stable26] Fix(MessageButtonsBar): hide delete message button for guests
  • Loading branch information
nickvergessen authored Oct 30, 2023
2 parents 8c02b1e + 3ac68d7 commit a6632f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export default {
},

isDeleteable() {
if (this.isConversationReadOnly) {
if (this.isConversationReadOnly || this.participant.participantType === PARTICIPANT.TYPE.GUEST) {
return false
}

Expand Down

0 comments on commit a6632f1

Please sign in to comment.