Skip to content

Commit

Permalink
Fix(MessageButtonsBar)! hide delete button for guests as they can't d…
Browse files Browse the repository at this point in the history
…elete a message

Signed-off-by: DorraJaouad <[email protected]>
  • Loading branch information
DorraJaouad authored and backportbot-nextcloud[bot] committed Oct 28, 2023
1 parent f7caf90 commit 3ac68d7
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 3ac68d7

Please sign in to comment.