Skip to content

Commit

Permalink
Merge pull request #10177 from nextcloud/fix/reply-to-sender-only
Browse files Browse the repository at this point in the history
fix: Revive reply to sender only
  • Loading branch information
GretaD authored Sep 25, 2024
2 parents 9013d07 + 90c9298 commit ed35b1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ThreadEnvelope.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
</NcActionButton>
<NcActionButton v-if="hasMultipleRecipients"
:close-after-click="true"
@click="onReply('', true)">
@click="onReply('', false, true)">
<template #icon>
<ReplyIcon :title="t('mail', 'Reply to sender only')"
:size="16" />
Expand Down Expand Up @@ -706,10 +706,10 @@ export default {
const top = this.$el.getBoundingClientRect().top - globalHeader - threadHeader
window.scrollTo({ top })
},
onReply(body = '', followUp = false) {
onReply(body = '', followUp = false, replySenderOnly = false) {
this.$store.dispatch('startComposerSession', {
reply: {
mode: this.hasMultipleRecipients ? 'replyAll' : 'reply',
mode: (this.hasMultipleRecipients && !replySenderOnly) ? 'replyAll' : 'reply',
data: this.envelope,
smartReply: body,
followUp,
Expand Down

0 comments on commit ed35b1d

Please sign in to comment.