all repos — honk @ 6edbe6d79aa661edf593d6fda404d231da603687

my fork of honk

seems we may need to add updated field
Ted Unangst tedu@tedunangst.com
Fri, 27 May 2022 13:43:48 -0400
commit

6edbe6d79aa661edf593d6fda404d231da603687

parent

8a01b26d77b4022a9d339d5fd2ae74a43b196d69

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M activity.goactivity.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