소스 검색

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

Frédéric Guillot 2 년 전
부모
커밋
1bd5d57884
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      internal/googlereader/handler.go

+ 1 - 1
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)
 		}