mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 08:03:40 +08:00
07a9163ea8
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. |
||
---|---|---|
.. | ||
auto_join_channel_batch_spec.rb | ||
auto_manage_channel_memberships_spec.rb | ||
chat_notify_mentioned_spec.rb | ||
chat_notify_watching_spec.rb | ||
delete_user_messages_spec.rb | ||
update_channel_user_count_spec.rb |