try to get original audience for remote replies
Ted Unangst tedu@tedunangst.com
Thu, 11 Apr 2019 10:44:50 -0400
2 files changed,
12 insertions(+),
0 deletions(-)
M
activity.go
→
activity.go
@@ -327,6 +327,15 @@ }
} } +func whosthere(xid string) []string { + obj, err := GetJunk(xid) + if err != nil { + log.Printf("error getting remote xonk: %s", err) + return nil + } + return newphone(nil, obj) +} + func newphone(a []string, obj map[string]interface{}) []string { for _, addr := range []string{"to", "cc", "attributedTo"} { who, _ := jsongetstring(obj, addr)