`user/{userID}/state/com.google/read` is missing in `categories` section for read entries

This commit is contained in:
Frédéric Guillot 2023-11-09 11:03:48 +00:00
parent 6544e413b8
commit 1bd5d57884
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}