fix "RSSLinkPointsTo" setting

This commit is contained in:
Sacha Greif 2016-01-07 16:01:37 +01:00
parent 1469c3a13d
commit 2d358a6de2

View file

@ -26,7 +26,7 @@ servePostRSS = function (terms, url) {
author: post.author,
date: post.postedAt,
guid: post._id,
url: Posts.getShareableLink(post)
url: (Settings.get("RSSLinksPointTo", "link") === "link") ? Posts.getLink(post) : Posts.getPageUrl(post, true)
};
if (post.thumbnailUrl) {