mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 13:58:13 +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.