add CWs
This commit is contained in:
parent
fca1309e0b
commit
b69a16fff5
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue