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