mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 01:17:09 +08:00

Currently when a category is deleted, if it has an associated chat channel, the latter won’t be deleted automatically. The fix is quite simple as we were simply missing a `dependent: :destroy` option on the existing relation.