🐛 Hide feedback toggle on self-hosted instances and use correct from address

This commit is contained in:
Luke Vella 2025-05-17 16:52:45 +01:00
parent 2a88b8d610
commit bb0a58ca12
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
2 changed files with 9 additions and 1 deletions

View file

@ -140,7 +140,10 @@ export class EmailClient {
}
try {
await this.transport.sendMail(options);
await this.transport.sendMail({
...options,
from: options.from || this.config.mail.from,
});
return;
} catch (e) {
console.error("Error sending email", e);