This commit is contained in:
Yvan
2026-09-22 20:20:23 +08:00
parent bf33e87d72
commit ceaea78b0f
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