mirror of
https://github.com/discourse/discourse.git
synced 2025-02-01 05:27:30 +08:00
2d782c7b00
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. |
||
---|---|---|
.. | ||
category_channel.rb | ||
channel_archive.rb | ||
channel.rb | ||
deleted_user.rb | ||
direct_message_channel.rb | ||
direct_message_user.rb | ||
direct_message.rb | ||
draft.rb | ||
incoming_webhook.rb | ||
mention.rb | ||
message_reaction.rb | ||
message_revision.rb | ||
message.rb | ||
reviewable_message.rb | ||
thread.rb | ||
threads_view.rb | ||
tracking_state_report.rb | ||
user_chat_channel_membership.rb | ||
user_chat_thread_membership.rb | ||
webhook_event.rb |