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

@@ -28,3 +28,8 @@ declare export function by_stream_topic_url(
topic: string,
maybe_get_stream_name: (id: number) => ?string,
): string;
declare export function by_channel_topic_list_url(
stream_id: number,
maybe_get_stream_name: (id: number) => ?string,
): string;