fix: decode characters if encoded (#6447)
This commit is contained in:
@@ -73,7 +73,7 @@ export default class AttendeeScheduledEmail extends BaseEmail {
|
||||
to: `${this.attendee.name} <${this.attendee.email}>`,
|
||||
from: `${this.calEvent.organizer.name} <${this.getMailerOptions().from}>`,
|
||||
replyTo: [...this.calEvent.attendees.map(({ email }) => email), this.calEvent.organizer.email],
|
||||
subject: `${this.calEvent.title}`,
|
||||
subject: decodeURIComponent(`${this.calEvent.title}`),
|
||||
html: renderEmail("AttendeeScheduledEmail", {
|
||||
calEvent: this.calEvent,
|
||||
attendee: this.attendee,
|
||||
|
||||
@@ -73,7 +73,9 @@ export default class OrganizerScheduledEmail extends BaseEmail {
|
||||
},
|
||||
from: `${APP_NAME} <${this.getMailerOptions().from}>`,
|
||||
to: toAddresses.join(","),
|
||||
subject: `${this.newSeat ? this.t("new_attendee") + ":" : ""} ${this.calEvent.title}`,
|
||||
subject: decodeURIComponent(
|
||||
`${this.newSeat ? this.t("new_attendee") + ":" : ""} ${this.calEvent.title}`
|
||||
),
|
||||
html: renderEmail("OrganizerScheduledEmail", {
|
||||
calEvent: this.calEvent,
|
||||
attendee: this.calEvent.organizer,
|
||||
|
||||
Reference in New Issue
Block a user