diff --git a/web/src/stream_color.js b/web/src/stream_color.js
index c70270dc5d..a6d338e9c1 100644
--- a/web/src/stream_color.js
+++ b/web/src/stream_color.js
@@ -35,9 +35,8 @@ function update_table_stream_color(table, stream_name, color) {
}
}
-function update_stream_sidebar_swatch_color(id, color) {
- $(`#stream_sidebar_swatch_${CSS.escape(id)}`).css("background-color", color);
- $(`#stream_sidebar_privacy_swatch_${CSS.escape(id)}`).css("color", color);
+function update_stream_privacy_color(id, color) {
+ $(`.stream-privacy-${CSS.escape(id)}`).css("color", color);
}
function update_historical_message_color(stream_name, color) {
@@ -95,7 +94,7 @@ export function update_stream_color(sub, color, {update_historical = false} = {}
if (update_historical) {
update_historical_message_color(sub.name, color);
}
- update_stream_sidebar_swatch_color(stream_id, color);
+ update_stream_privacy_color(stream_id, color);
message_view_header.colorize_message_view_header();
}
diff --git a/web/src/stream_settings_data.js b/web/src/stream_settings_data.js
index e49496ed32..488b14478c 100644
--- a/web/src/stream_settings_data.js
+++ b/web/src/stream_settings_data.js
@@ -80,6 +80,7 @@ export function get_unmatched_streams_for_notification_settings() {
if (make_table_row) {
settings_values.stream_name = row.name;
settings_values.stream_id = row.stream_id;
+ settings_values.color = row.color;
settings_values.invite_only = row.invite_only;
settings_values.is_web_public = row.is_web_public;
diff --git a/web/templates/recent_topic_row.hbs b/web/templates/recent_topic_row.hbs
index 46f72992d4..dca2f87273 100644
--- a/web/templates/recent_topic_row.hbs
+++ b/web/templates/recent_topic_row.hbs
@@ -6,7 +6,7 @@
Direct messages
{{else}}
-