diff --git a/lib/convertv2.js b/lib/convertv2.js index 7d0172e..4b6c0dc 100644 --- a/lib/convertv2.js +++ b/lib/convertv2.js @@ -87,8 +87,8 @@ function itemsForFeed(user,feed) { isBoost:false, title:'New Status by '+user.preferredUsername, isReply:!!(item.object && item.object.inReplyTo), - hasCw:false, - cw:'', + hasCw:item.object.sensitive||false, + cw:item.object.summary, content: item.object&&item.object.content?item.object.content:'',//TODO sanitize then render without entity escapes atomHref:item.published?item.published.replace(/\W+/g,''):Math.random().toString().replace('.',''), enclosures:enclosures,