discourse/plugins/discourse-narrative-bot/spec
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
..
discourse_narrative_bot DEV: Move min_trust_to_post_embedded_media to group setting (#25238) 2024-01-25 09:50:59 +10:00
jobs DEV: Make discourse_narrative_bot use Rails autoload (#26044) 2024-03-06 11:14:53 +08:00
lib FIX: Update Discobot's UserProfile#bio_raw when default locale changes (#26045) 2024-03-06 11:42:20 +08:00
requests DEV: Make discourse_narrative_bot use Rails autoload (#26044) 2024-03-06 11:14:53 +08:00
user_spec.rb DEV: Change anonymous_posting_min_trust_level to a group-based setting (#24072) 2023-10-25 11:45:10 +10:00