- A Warn from a community's moderator about a persona's own post there becomes that persona's moderation_warning
notification (Mastodon's AccountWarning, with the reason and the post), believed from the community's own server or
from an account the community's moderators collection lists. Remote communities keep that collection's address
(attributedTo) as ForeignAvatar.ModeratorsURL; it is read only when a warning needs it.
- A Resolve{Flag} for one of our reports (`/grunts/flag-<report id>`) is kept as the report's remote resolution when it
comes from the server holding what was reported, or the community it was reported to; our own moderators'
resolution is never replaced. The moderators' report list shows both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
This commit is contained in:
1 parent
6fc2d001b2
commit
587997dd67
19 files changed
+344
-8
No files matched your search
@@ -405,6 +405,18 @@
|
||||
public Status Status { get; set; }
|
||||
public string Emoji { get; set; }
|
||||
public string EmojiUrl { get; set; }
|
||||
public AccountWarning ModerationWarning { get; set; }
|
||||
}
|
||||
|
||||
public class AccountWarning
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Action { get; set; } = "none";
|
||||
public string Text { get; set; } = string.Empty;
|
||||
public List<string> StatusIds { get; set; } = new();
|
||||
public Account TargetAccount { get; set; }
|
||||
public object Appeal { get; set; }
|
||||
public string CreatedAt { get; set; }
|
||||
}
|
||||
|
||||
public class Context
|
||||
|
||||
Reference in new issue
Block a user