add CWs
This commit is contained in:
parent
fca1309e0b
commit
b69a16fff5
|
@ -87,8 +87,8 @@ function itemsForFeed(user,feed) {
|
||||||
isBoost:false,
|
isBoost:false,
|
||||||
title:'New Status by '+user.preferredUsername,
|
title:'New Status by '+user.preferredUsername,
|
||||||
isReply:!!(item.object && item.object.inReplyTo),
|
isReply:!!(item.object && item.object.inReplyTo),
|
||||||
hasCw:false,
|
hasCw:item.object.sensitive||false,
|
||||||
cw:'',
|
cw:item.object.summary,
|
||||||
content: item.object&&item.object.content?item.object.content:'',//TODO sanitize then render without entity escapes
|
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('.',''),
|
atomHref:item.published?item.published.replace(/\W+/g,''):Math.random().toString().replace('.',''),
|
||||||
enclosures:enclosures,
|
enclosures:enclosures,
|
||||||
|
|
Loading…
Reference in New Issue