This commit is contained in:
Yvan
2026-09-23 17:42:55 +08:00
parent 0a8ecbe09b
commit 435b601273
42 changed files with 2845 additions and 154 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ func (h *Live) Like(c *gin.Context) {
// Do not create runtime stream state for arbitrary room IDs. The stream
// repository is process-local, so validating the catalog first also keeps
// bogus likes from accumulating forever.
room, err := h.catalog.GetRoom(c.Request.Context(), id)
room, err := h.catalog.GetPublicRoom(c.Request.Context(), id)
if err != nil {
businessFail(c, err)
return