seems we may need to add updated field
This commit is contained in:
parent
8a635bd682
commit
0395c750e2
|
@ -1140,10 +1140,6 @@ func jonkjonk(user *WhatAbout, h *Honk) (junk.Junk, junk.Junk) {
|
|||
fallthrough
|
||||
case "honk":
|
||||
j["type"] = "Create"
|
||||
if h.What == "update" {
|
||||
j["type"] = "Update"
|
||||
}
|
||||
|
||||
jo = junk.New()
|
||||
jo["id"] = h.XID
|
||||
jo["type"] = "Note"
|
||||
|
@ -1152,6 +1148,10 @@ func jonkjonk(user *WhatAbout, h *Honk) (junk.Junk, junk.Junk) {
|
|||
} else if h.What == "wonk" {
|
||||
jo["type"] = "GuessWord"
|
||||
}
|
||||
if h.What == "update" {
|
||||
j["type"] = "Update"
|
||||
jo["updated"] = dt
|
||||
}
|
||||
jo["published"] = dt
|
||||
jo["url"] = h.XID
|
||||
jo["attributedTo"] = user.URL
|
||||
|
|
Loading…
Reference in New Issue