change default cw summary, also show summary if the tweet itself is marked as sensitive
This commit is contained in:
parent
f6acf7f277
commit
7a9bd78645
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ namespace BirdsiteLive.Domain
|
|||
|
||||
string summary = null;
|
||||
var sensitive = _publicationRepository.IsSensitive(username);
|
||||
if (sensitive)
|
||||
summary = "Potential Content Warning";
|
||||
if (sensitive || tweet.IsSensitive)
|
||||
summary = "Sensitive Content";
|
||||
|
||||
var extractedTags = _statusExtractor.Extract(tweet.MessageContent);
|
||||
_statisticsHandler.ExtractedStatus(extractedTags.tags.Count(x => x.type == "Mention"));
|
||||
|
|
Reference in a new issue