mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
Each time a message is created through a webhook, we create we webhook_event associated to this webhook. When destroying a webhook, we were not destroying the webhook_events which was causing orphans records and more importantly errors in the app expecting to find and associated webhook.