Skip to content

Commit

Permalink
fix: Revive reply to sender only
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Sep 19, 2024
1 parent 593ed99 commit 90c9298
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 90c9298

Please sign in to comment.