diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-27 14:35:54 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-27 14:35:54 +0200 |
commit | 6e8924cb5e95466cbdbe6c237365a8383c35b26b (patch) | |
tree | d5ced984200555684bc1f3843b4de45ae9dca725 /src/feeds.h | |
parent | 54f063e859f8e7eb5c3a825763ed4c85d30ef5b5 (diff) |
Feeds: Separate timestamps for posting and discovery
The discovery time is needed for knowing how long the entry can be
retained in the history.
Diffstat (limited to 'src/feeds.h')
-rw-r--r-- | src/feeds.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feeds.h b/src/feeds.h index 5d1a47e0..caa2a6ef 100644 --- a/src/feeds.h +++ b/src/feeds.h | |||
@@ -28,7 +28,8 @@ iDeclareType(FeedEntry) | |||
28 | iDeclareTypeConstruction(FeedEntry) | 28 | iDeclareTypeConstruction(FeedEntry) |
29 | 29 | ||
30 | struct Impl_FeedEntry { | 30 | struct Impl_FeedEntry { |
31 | iTime timestamp; | 31 | iTime posted; |
32 | iTime discovered; | ||
32 | iString url; | 33 | iString url; |
33 | iString title; | 34 | iString title; |
34 | uint32_t bookmarkId; /* note: runtime only, not a persistent ID */ | 35 | uint32_t bookmarkId; /* note: runtime only, not a persistent ID */ |