maybe works better if we set the magic directMessage flag
This commit is contained in:
parent
5d2956e1f9
commit
4c2d24a05c
|
@ -741,6 +741,9 @@ func jonkjonk(user *WhatAbout, h *Honk) (map[string]interface{}, map[string]inte
|
||||||
if len(h.Audience) > 1 {
|
if len(h.Audience) > 1 {
|
||||||
jo["cc"] = h.Audience[1:]
|
jo["cc"] = h.Audience[1:]
|
||||||
}
|
}
|
||||||
|
if !h.Public {
|
||||||
|
jo["directMessage"] = true
|
||||||
|
}
|
||||||
jo["summary"] = h.Precis
|
jo["summary"] = h.Precis
|
||||||
jo["content"] = mentionize(h.Noise)
|
jo["content"] = mentionize(h.Noise)
|
||||||
if strings.HasPrefix(h.Precis, "DZ:") {
|
if strings.HasPrefix(h.Precis, "DZ:") {
|
||||||
|
|
Loading…
Reference in New Issue