From 2a2019743f65dff62d4c4127d86a7a23e51cf42a Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 10 Jul 2019 14:46:43 -0400 Subject: [PATCH] if it's sensitive but we don't know why, make up a reason --- activity.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activity.go b/activity.go index 858548d..06037a7 100644 --- a/activity.go +++ b/activity.go @@ -549,6 +549,10 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { if !strings.HasPrefix(content, "

") { content = "

" + content } + sens, _ := obj["sensitive"].(bool) + if sens && precis == "" { + precis = "unspecified horror" + } rid, _ = obj.GetString("inReplyTo") convoy, _ = obj.GetString("context") if convoy == "" {