if it's sensitive but we don't know why, make up a reason

This commit is contained in:
Ted Unangst 2019-07-10 14:46:43 -04:00
parent babda8d0a7
commit 2a2019743f
1 changed files with 4 additions and 0 deletions

View File

@ -549,6 +549,10 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
if !strings.HasPrefix(content, "<p>") {
content = "<p>" + content
}
sens, _ := obj["sensitive"].(bool)
if sens && precis == "" {
precis = "unspecified horror"
}
rid, _ = obj.GetString("inReplyTo")
convoy, _ = obj.GetString("context")
if convoy == "" {