From 1bd5d57884a9a812ae8e703ca5a5502a702b9551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Thu, 9 Nov 2023 11:03:48 +0000 Subject: [PATCH] `user/{userID}/state/com.google/read` is missing in `categories` section for read entries --- internal/googlereader/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/googlereader/handler.go b/internal/googlereader/handler.go index 1b749ac2..b971b163 100644 --- a/internal/googlereader/handler.go +++ b/internal/googlereader/handler.go @@ -992,7 +992,7 @@ func (h *handler) streamItemContentsHandler(w http.ResponseWriter, r *http.Reque if entry.Feed.Category.Title != "" { categories = append(categories, fmt.Sprintf(UserLabelPrefix, userID)+entry.Feed.Category.Title) } - if entry.Starred { + if entry.Status == model.EntryStatusRead { categories = append(categories, userRead) }