all repos — honk @ 1d94b143cf264324326221dca3ad8d71d9392ed9

my fork of honk

don't care about Listen
Ted Unangst tedu@tedunangst.com
Tue, 28 Nov 2023 15:50:22 -0500
commit

1d94b143cf264324326221dca3ad8d71d9392ed9

parent

7a480bfe227cf390f662f72b843eba3d4849ec3a

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

jump to
M web.goweb.go

@@ -413,8 +413,17 @@ return

} what := firstofmany(j, "type") obj, _ := j.GetString("object") - if what == "Like" || what == "Dislike" || (what == "EmojiReact" && originate(obj) != serverName) { + switch what { + case "Like": + return + case "Dislike": + return + case "Listen": return + case "EmojiReact": + if originate(obj) != serverName { + return + } } who, _ := j.GetString("actor") if rejectactor(user.ID, who) {