From d622d8781aacb8cf0036ad078e97b6a680a22ebe Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 10 Jun 2023 23:33:27 -0400 Subject: [PATCH] better handling of Link attachment types --- activity.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/activity.go b/activity.go index 2239407..9e4d2ef 100644 --- a/activity.go +++ b/activity.go @@ -882,6 +882,14 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { localize = true } } + } else if at == "Link" { + if waspage { + xonk.Noise += fmt.Sprintf(`

%s`, u, u) + return + } + if name == "" { + name = u + } } else { ilog.Printf("unknown attachment: %s", at) }