Show reply-to mail address in faq instead of sending mail address (if available) #48

Merged
ldr merged 1 commit from fix-faq-email into main 2026-07-29 10:26:37 +02:00
3 changed files with 12 additions and 2 deletions
Showing only changes of commit 594cd3005f - Show all commits

Show reply-to mail address in faq instead of sending mail address (if available)

Lukas Drescher 2026-07-29 10:18:39 +02:00

View file

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.6.1]
### Fix
- Show Reply-To mail address in FAQ
## [0.6.0] ## [0.6.0]
### Added ### Added

View file

@ -1,12 +1,13 @@
url_base_path = "jobbörse" url_base_path = "jobbörse"
banner = "Hinweis: Die Jobbörse wird aktuall noch evaluiert und befindet sich noch nicht im produktiven Betrieb!" banner = "Hinweis: Die Jobbörse wird aktuall noch evaluiert und befindet sich noch nicht im produktiven Betrieb!"
webhook_url="https://discord.com/api/webhooks/1188255966655946854/UgX-gtkThowrhk4kFdzVc46V5YfAUc_In5U6Ez5YvZhMKKJWCFLjdtBlTJ0nL--kt3GI?wait=true" webhook_url="https://discord.com/api/webhooks/1188899949044310178/jVHXEjJriU4joG0ZNGA5J0n04U0qvpQtvgLQ1B_BR_BZoCTvpcmfqUrQh4dw11m5Bo8g?wait=true"
[login_provider] [login_provider]
type = 'Development' type = 'Development'
[email] [email]
from = "Test-Jobbörse <jobs@localhost>" from = "Test-Jobbörse <jobs@localhost>"
receive = "Receive-Jobbörse <sendtothismail@localhost>"
subject = "Test" subject = "Test"
# [[header_links]] # [[header_links]]

View file

@ -65,7 +65,10 @@ pub(crate) async fn faq(
.config .config
.email .email
.as_ref() .as_ref()
.map(|econf| econf.from.email.to_string()); .map(|econf| match &econf.receive {
Some(recv) => recv.email.to_string(),
None => econf.from.email.to_string(),
});
let data = json!({ let data = json!({
"base": base_data, "base": base_data,