mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 19:36:44 +08:00
Previously, `GroupArchivedMessage.archive!` and `.move_to_inbox!` did not validate the target topic against the given group before updating state and triggering events. This change makes both methods no-ops unless the topic is a private message with the group as an allowed recipient, and applies the same check in `TopicsBulkAction`. |
||
|---|---|---|
| .. | ||
| assign_spec.rb | ||
| solved_integration_spec.rb | ||