mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 13:19:52 +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
|
// get other information for post
|
||||||
GroupId groupId = feed.getBlogId();
|
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());
|
String body = getPostBody(b.toString());
|
||||||
try {
|
try {
|
||||||
// create and store post
|
// create and store post
|
||||||
|
|||||||
Reference in New Issue
Block a user