if the summary isn't blank, add it to the content
This commit is contained in:
parent
02da8c739a
commit
df1f73f45e
|
@ -407,6 +407,10 @@ func xonkxonk(item interface{}) *Honk {
|
|||
audience = newphone(audience, obj)
|
||||
xid, _ = jsongetstring(obj, "id")
|
||||
content, _ = jsongetstring(obj, "content")
|
||||
summary, _ := jsongetstring(obj, "content")
|
||||
if summary != "" {
|
||||
content = "<p>summary: " + summary + content
|
||||
}
|
||||
rid, _ = jsongetstring(obj, "inReplyTo")
|
||||
if what == "honk" && rid != "" {
|
||||
what = "tonk"
|
||||
|
|
Loading…
Reference in New Issue