fix: chat stream links

This commit is contained in:
trisua 2025-06-15 18:38:37 -04:00
parent a7c0046762
commit 0af95e517d

View file

@ -10,7 +10,7 @@
(b (b
(text "{{ text \"chats:label.viewing_old_messages\" }}")) (text "{{ text \"chats:label.viewing_old_messages\" }}"))
(a (a
("href" "/chats/{{ community }}/{{ channel }}/_stream?page={{ page - 1}}") ("href" "/chats/{{ community }}/{{ channel.id }}/_stream?page={{ page - 1}}")
("class" "button small") ("class" "button small")
("onclick" "window.CURRENT_PAGE -= 1") ("onclick" "window.CURRENT_PAGE -= 1")
(text "{{ text \"chats:label.go_back\" }}"))) (text "{{ text \"chats:label.go_back\" }}")))
@ -20,7 +20,7 @@
(b (b
(text "{{ text \"chats:label.viewing_single_message\" }}")) (text "{{ text \"chats:label.viewing_single_message\" }}"))
(a (a
("href" "/chats/{{ community }}/{{ channel }}?page={{ page }}") ("href" "/chats/{{ community }}/{{ channel.id }}?page={{ page }}")
("class" "button small") ("class" "button small")
("onclick" "window.VIEWING_SINGLE = false") ("onclick" "window.VIEWING_SINGLE = false")
("target" "_top") ("target" "_top")
@ -30,7 +30,7 @@
("class" "flex gap-2 w-full justify-center") ("class" "flex gap-2 w-full justify-center")
(a (a
("class" "button") ("class" "button")
("href" "/chats/{{ community }}/{{ channel }}/_stream?page={{ page + 1 }}") ("href" "/chats/{{ community }}/{{ channel.id }}/_stream?page={{ page + 1 }}")
("onclick" "window.CURRENT_PAGE += 1") ("onclick" "window.CURRENT_PAGE += 1")
(text "{{ icon \"clock\" }}") (text "{{ icon \"clock\" }}")
(span (span