mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Use original timestamp for RSS posts, if available.
This commit is contained in:
@@ -467,7 +467,11 @@ class FeedManagerImpl implements FeedManager, Client, EventListener,
|
||||
|
||||
// get other information for post
|
||||
GroupId groupId = feed.getBlogId();
|
||||
long time = clock.currentTimeMillis();
|
||||
long time;
|
||||
Date date = entry.getUpdatedDate();
|
||||
if (date == null) date = entry.getPublishedDate();
|
||||
if (date == null) time = clock.currentTimeMillis();
|
||||
else time = date.getTime();
|
||||
String body = getPostBody(b.toString());
|
||||
try {
|
||||
// create and store post
|
||||
|
||||
Reference in New Issue
Block a user