From 4c2d24a05cade952ad8d8114a2a7b08f81a3289e Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 28 May 2019 03:54:03 -0400 Subject: [PATCH] maybe works better if we set the magic directMessage flag --- activity.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/activity.go b/activity.go index 9864a98..09fb865 100644 --- a/activity.go +++ b/activity.go @@ -741,6 +741,9 @@ func jonkjonk(user *WhatAbout, h *Honk) (map[string]interface{}, map[string]inte if len(h.Audience) > 1 { jo["cc"] = h.Audience[1:] } + if !h.Public { + jo["directMessage"] = true + } jo["summary"] = h.Precis jo["content"] = mentionize(h.Noise) if strings.HasPrefix(h.Precis, "DZ:") {