Add a reusable ModerationActions widget shown to channel moderators (and the broadcaster) from both the message long-press menu and the user panel. Supports delete message, timeout (10 min), ban, and remove ban/timeout — the recovery action appears only when the target is currently banned or timed out (tracked via CLEARCHAT). Surfaces Twitch's own error reason when an action is rejected, and forces an immediate chat re-render so a deleted/banned message reflects instantly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apis | ||
| models | ||
| screens | ||
| services | ||
| stores | ||
| utils | ||
| widgets | ||
| cache_manager.dart | ||
| constants.dart | ||
| firebase_options.dart | ||
| main.dart | ||
| theme.dart | ||
| utils.dart | ||