Fix FreshRSS synchronisation issue

This commit is contained in:
Shinokuni 2021-09-17 17:47:49 +02:00
parent 1b7d178e4a
commit 4c490c3d49
1 changed files with 4 additions and 1 deletions

View File

@ -247,7 +247,10 @@ public class FreshRSSRepository extends ARepository {
}
item.setFeedId(feedId);
item.setReadTime(Utils.readTimeFromString(item.getContent()));
if (item.getText() != null) {
item.setReadTime(Utils.readTimeFromString(item.getText()));
}
// workaround to avoid inserting starred items coming from the main item call
// as the API exclusion filter doesn't seem to work