Show reply-to mail address in faq instead of sending mail address (if available) #48
3 changed files with 12 additions and 2 deletions
Show reply-to mail address in faq instead of sending mail address (if available)
commit
594cd3005f
|
|
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.6.1]
|
||||
|
||||
### Fix
|
||||
|
||||
- Show Reply-To mail address in FAQ
|
||||
|
||||
## [0.6.0]
|
||||
|
||||
### Added
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
url_base_path = "jobbörse"
|
||||
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]
|
||||
type = 'Development'
|
||||
|
||||
[email]
|
||||
from = "Test-Jobbörse <jobs@localhost>"
|
||||
receive = "Receive-Jobbörse <sendtothismail@localhost>"
|
||||
subject = "Test"
|
||||
|
||||
# [[header_links]]
|
||||
|
|
|
|||
|
|
@ -65,7 +65,10 @@ pub(crate) async fn faq(
|
|||
.config
|
||||
.email
|
||||
.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!({
|
||||
"base": base_data,
|
||||
|
|
|
|||
Loading…
Reference in a new issue