Skip to content

Commit

Permalink
Merge pull request #11500 from nextcloud/backport/11499/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(Poll): hide poll creation in Note to Self
  • Loading branch information
Antreesy authored Jan 31, 2024
2 parents a7aef02 + 10da717 commit 0b8f45a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/NewMessage/NewMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ export default {

canCreatePoll() {
return !this.isOneToOne && !this.noChatPermission
&& this.conversation.type !== CONVERSATION.TYPE.NOTE_TO_SELF
},

currentConversationIsJoined() {
Expand Down

0 comments on commit 0b8f45a

Please sign in to comment.