mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
This commit introduce a new API for registering callbacks, which we'll execute when a user gets destroyed, and the `delete_posts` opt is true. The chat plugin registers one callback and queues a job to destroy every message from that user in batches.