mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 07:52:19 +08:00
6b9c0ee554
Follow up to a review in #18937, this commit changes the HashtagAutocompleteService to no longer use class variables to register hashtag data sources or types in context priority order. This is to address multisite concerns, where one site could e.g. have chat disabled and another might not. The filtered plugin registers I added will not be included if the plugin is disabled. |
||
---|---|---|
.. | ||
distributed_cache_spec.rb | ||
hashtag_autocomplete_service_spec.rb | ||
jobs_spec.rb | ||
pausable_multisite_spec.rb | ||
pausable_spec.rb | ||
post_spec.rb | ||
request_tracker_spec.rb | ||
s3_store_spec.rb | ||
site_settings_spec.rb |