Forum: e-mail notifications with a daily digest
Members choose per kind: replies to them (daily digest, instant or off), new posts in followed threads (daily or off), private messages and requests (instant or off). The forum service queues the instant e-mails (none while online, at most one per thread an hour); the worker's new forum task makes the evening digest of what is unread. Every forum e-mail greets by the nickname and has a one-click unsubscribe (RFC 8058). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { ForumUnsubscribe } from "./ForumUnsubscribe";
|
||||
|
||||
export const metadata = { title: "Leiratkozás a fórum leveleiről", robots: { index: false } };
|
||||
|
||||
type Props = { searchParams: Promise<{ token?: string | string[] }> };
|
||||
|
||||
/** From the footer of a forum e-mail: every forum e-mail off, no login needed. */
|
||||
export default async function ForumUnsubscribePage({ searchParams }: Props) {
|
||||
const raw = (await searchParams).token;
|
||||
const token = Array.isArray(raw) ? raw[0] : raw;
|
||||
return (
|
||||
<div className="fh fprof">
|
||||
<h1 className="fpage-title">Leiratkozás</h1>
|
||||
<p className="muted">
|
||||
Nem kérsz több levelet a fórumról: se válaszértesítést, se napi összesítőt, se üzenetértesítést.
|
||||
</p>
|
||||
<ForumUnsubscribe token={token ?? null} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user