Forum: reports for moderators and private messages by request
Any logged-in user can report a post, or a private message received; a possible crisis shows the helplines at once. Moderators get the open reports (crisis first) with what was reported, remove or close them, and every step goes to the log; the operator gets a Telegram notice of each new report (kind and link only). Private conversations start with a request and a short introduction (from the Kereső rank, a few a day); the recipient accepts, declines silently or blocks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -10,6 +10,7 @@ import { AuthorLine, signsText } from "./AuthorLine";
|
||||
import { Avatar } from "./Avatar";
|
||||
import { Composer } from "./Composer";
|
||||
import { PostBody } from "./PostBody";
|
||||
import { ReportButton } from "./ReportButton";
|
||||
|
||||
/** How often the open thread looks for new replies (while the page is in front). */
|
||||
const POLL_MS = 30_000;
|
||||
@@ -294,6 +295,7 @@ function PostCard({
|
||||
Törlés
|
||||
</button>
|
||||
)}
|
||||
{viewer.logged_in && !post.own && <ReportButton path={`/forum/posts/${post.id}/report`} />}
|
||||
{viewer.moderator && !post.own && (
|
||||
<button type="button" className="fp-tool fp-tool-mod" onClick={() => actions.remove(post)}>
|
||||
Eltávolítás
|
||||
|
||||
Reference in New Issue
Block a user