(no commit message)
[prss.git] / src / ttrss.c
index 78884c1..4dbde65 100644 (file)
@@ -173,6 +173,9 @@ struct headline **ttrss_get_headlines(int feed_id)
                        j = json_object_object_get(jheadline, "content");
                        h->content = strdup(json_object_get_string(j));
 
+                       j = json_object_object_get(jheadline, "unread");
+                       h->unread = json_object_get_boolean(j);
+
                        headlines[i] = h;
                }
                headlines[n] = NULL;