mirror of
https://github.com/discourse/discourse.git
synced 2025-04-03 05:39:41 +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.