maybe works better if we set the magic directMessage flag

This commit is contained in:
Ted Unangst 2019-05-28 03:54:03 -04:00
parent 5d2956e1f9
commit 4c2d24a05c
1 changed files with 3 additions and 0 deletions

View File

@ -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:") {