handle the case where inreplyto is an object

master
Ted Unangst 5 years ago
parent 4e03d728b8
commit a1648667ec

@ -588,7 +588,13 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
if sens && precis == "" {
precis = "unspecified horror"
}
rid, _ = obj.GetString("inReplyTo")
rid, ok = obj.GetString("inReplyTo")
if !ok {
robj, ok := obj.GetMap("inReplyTo")
if ok {
rid, _ = robj.GetString("id")
}
}
convoy, _ = obj.GetString("context")
if convoy == "" {
convoy, _ = obj.GetString("conversation")

@ -1,5 +1,13 @@
changelog
-- next
+ Improved ActivityPub parsing conformance for better compat with others.
+ Add server name to user agent.
+ What may be considered UI improvements.
-- 0.7.4
+ Ever more bug fixes.

Loading…
Cancel
Save