all repos — honk @ b353c6bf89b21730b52fcd765604212397ec4bed

my fork of honk

basic Add support
Ted Unangst tedu@tedunangst.com
Sun, 27 Oct 2019 01:22:43 -0400
commit

b353c6bf89b21730b52fcd765604212397ec4bed

parent

5a2b16a805bee96b76c9075e9f6571955cd9b679

1 files changed, 16 insertions(+), 0 deletions(-)

jump to
M activity.goactivity.go

@@ -555,6 +555,22 @@ }

return xonkxonkfn(obj, originate(xid)) } return nil + case "Add": + xid, ok = item.GetString("object") + if ok { + // check target... + if !needxonkid(user, xid) { + log.Printf("don't need added obj: %s", xid) + return nil + } + obj, err = GetJunkHardMode(xid) + if err != nil { + log.Printf("error getting add: %s", err) + return nil + } + return xonkxonkfn(obj, originate(xid)) + } + return nil case "Audio": fallthrough case "Video":