mirror of
https://github.com/discourse/discourse.git
synced 2025-02-15 15:55:09 +00:00
Follow up to 098ab29d4150a5a39880d59ef6cad5f6795a18fd. Since we just used a `cattr_reader` on `About` this was not safe for multisite, since some sites could have the chat plugin enabled and some may not. Using `DiscoursePluginRegistry` gets around this issue, and makes it so the chat stats only show for a site if `chat_enabled` is true.