discourse/plugins/discourse-narrative-bot
Alan Guo Xiang Tan 7f7ef60a7b
FIX: Update Discobot's `UserProfile#bio_raw` when default locale changes ()
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
..
app DEV: Make `discourse_narrative_bot` use Rails autoload () 2024-03-06 11:14:53 +08:00
assets PERF: Move user-tips and narrative to per-user messagebus channels () 2023-01-30 11:48:09 +00:00
config DEV: Make `discourse_narrative_bot` use Rails autoload () 2024-03-06 11:14:53 +08:00
db UX: Update badge icons () 2023-02-28 10:42:05 +08:00
lib/discourse_narrative_bot DEV: Make `discourse_narrative_bot` use Rails autoload () 2024-03-06 11:14:53 +08:00
public/images
spec FIX: Update Discobot's `UserProfile#bio_raw` when default locale changes () 2024-03-06 11:42:20 +08:00
plugin.rb FIX: Update Discobot's `UserProfile#bio_raw` when default locale changes () 2024-03-06 11:42:20 +08:00