mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 09:53:55 +08:00
7f7ef60a7b
Why this change? When a site's default locale is changed, Discobot's `UserProfile#bio_raw` is not changed and we have gotten reports about this. What does this change do? This change adds a `DiscourseEvent.on(:site_setting_changed)` callback which watches for changes to the `default_locale` site setting and updates Discobot's `UserProfile#bio_raw` when it changes. |
||
---|---|---|
.. | ||
app | ||
assets | ||
config | ||
db | ||
lib/discourse_narrative_bot | ||
public/images | ||
spec | ||
plugin.rb |