seems we may need to add updated field
Ted Unangst tedu@tedunangst.com
Fri, 27 May 2022 13:43:48 -0400
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -1140,10 +1140,6 @@ case "wonk":
fallthrough case "honk": j["type"] = "Create" - if h.What == "update" { - j["type"] = "Update" - } - jo = junk.New() jo["id"] = h.XID jo["type"] = "Note"@@ -1151,6 +1147,10 @@ if h.What == "event" {
jo["type"] = "Event" } 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