expand rid to full when we save the reply
Ted Unangst tedu@tedunangst.com
Thu, 25 Apr 2019 13:10:26 -0400
M
honk.go
→
honk.go
@@ -813,7 +813,6 @@ UserID: userinfo.UserID,
Username: userinfo.Username, What: "honk", XID: xid, - RID: rid, Date: dt, } if noise[0] == '@' {@@ -825,6 +824,9 @@ var convoy string
if rid != "" { xonk := getxonk("", rid) if xonk != nil { + if xonk.Honker == "" { + rid = "https://" + serverName + "/u/" + xonk.Username + "/h/" + rid + } honk.Audience = append(honk.Audience, xonk.Audience...) convoy = xonk.Convoy } else {@@ -832,6 +834,7 @@ xonkaud, c := whosthere(rid)
honk.Audience = append(honk.Audience, xonkaud...) convoy = c } + honk.RID = rid } if convoy == "" { convoy = "data:,electrichonkytonk-" + xfiltrate()