Great catch thanks ![]()
This will be fixed in:
https://github.com/discourse/discourse/pull/23097
Note, this is only preventing the error to happen, if you are already in this state you have two solutions for now:
- create a new channel
- manually delete the orphaned records of
chat_webhook_events
Given I had only one report of this Im not providing anything to handle this, but if there are cases I will assist.