ÁSZF: the forum chapter, and the moderation e-mails it promises
A new point 8 (the old 8–11 become 9–12): reading, writing and the nickname, the house rules, posts (they stay as "Törölt tag" after an account is deleted), private messages, ranks and limits, reports and moderation under the DSA (receipt, decision notice, statement of reasons, objection, point of contact; every decision is made by a person), notifications. In force from 2026-11-26 (TERMS_UPDATED, TERMS_VERSION). So that it holds: the member gets an e-mail with the reason when a moderator removes their post or thread or bans them, and every reporter gets the decision on their report, whatever their notification settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -548,6 +548,15 @@ pub async fn remove(
|
||||
.await?;
|
||||
tx.commit().await?;
|
||||
tracing::info!(thread = id, moderator = %moderator.id, "thread removed");
|
||||
if let Some(author) = thread.author_id {
|
||||
let payload = json!({
|
||||
"url": crate::mail::rules_url(&state),
|
||||
"action": "thread_removed",
|
||||
"reason": reason,
|
||||
"thread_title": thread.title,
|
||||
});
|
||||
crate::mail::notify_user(&state, author, "forum_moderation", payload).await;
|
||||
}
|
||||
Ok(StatusCode::NO_CONTENT)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user