hash_util: Set channel URL based on user setting.

We now render channel feed URL or channel topics list URL in
all elements based on user setting.
This commit is contained in:
Aman Agrawal
2025-05-02 16:15:23 +05:30
committed by Tim Abbott
parent 97c69e3038
commit 1ace8b80f5
23 changed files with 75 additions and 21 deletions

View File

@@ -452,7 +452,7 @@ function format_stream(stream_id: number): StreamContext {
is_muted: stream_info.is_muted,
stream_color: stream_color.get_stream_privacy_icon_color(stream_info.color),
stream_header_color: stream_color.get_recipient_bar_color(stream_info.color),
stream_url: hash_util.by_stream_url(stream_id),
stream_url: hash_util.channel_url_by_user_setting(stream_id),
stream_id,
// Will be displayed if any topic is visible.
is_hidden: true,