discourse/plugins/discourse-narrative-bot/spec/lib
Alan Guo Xiang Tan 7f7ef60a7b
FIX: Update Discobot's UserProfile#bio_raw when default locale changes (#26045)
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.
2024-03-06 11:42:20 +08:00
..
certificate_generator_spec.rb DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
site_setting_spec.rb FIX: Update Discobot's UserProfile#bio_raw when default locale changes (#26045) 2024-03-06 11:42:20 +08:00