mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +08:00
When a chat message is re-flagged after being edited (via the `edited_since_last_review` path), `Reviewable.needs_review!` keeps the existing reviewable and discards the freshly built payload. Moderators then review a stale snapshot: text changes or uploads added in the edit are never reflected in the review queue, which renders `message_cooked` and `message_uploads` from the payload. Refresh the payload on the existing reviewable so the queue reflects the current cooked content and uploads. |
||
|---|---|---|
| .. | ||
| chat | ||
| chat_sdk | ||
| discourse_workflows/nodes | ||
| site_setting_extension_spec.rb | ||
| statistics_spec.rb | ||