]> git.wh0rd.org Git - tt-rss.git/commitdiff
rssutils: include comment count when calculating article hash
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 6 Aug 2017 17:20:39 +0000 (20:20 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 6 Aug 2017 17:20:39 +0000 (20:20 +0300)
classes/rssutils.php

index 4025534b4f007c08b864140aaa069226dde90a2a..b6693b8c2a32655062b8c7b4445636d1001598db 100644 (file)
@@ -635,6 +635,7 @@ class RSSUtils {
                                        "force_catchup" => false, // ugly hack for the time being
                                        "score_modifier" => 0, // no previous value, plugin should recalculate score modifier based on content if needed
                                        "language" => $entry_language,
+                                       "num_comments" => $num_comments, // read only
                                        "feed" => array("id" => $feed,
                                                "fetch_url" => $fetch_url,
                                                "site_url" => $site_url,