diff --git a/activity.go b/activity.go index 1699c5f..774b323 100644 --- a/activity.go +++ b/activity.go @@ -454,6 +454,8 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { obj, _ = item.GetMap("object") xid, _ = item.GetString("object") what = "eradicate" + case "Question": + fallthrough case "Note": fallthrough case "Article": @@ -479,7 +481,7 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { oonker, _ = obj.GetString("attributedTo") ot, _ := obj.GetString("type") url, _ = obj.GetString("url") - if ot == "Note" || ot == "Article" || ot == "Page" { + if ot == "Note" || ot == "Article" || ot == "Page" || ot == "Question" { audience = newphone(audience, obj) xid, _ = obj.GetString("id") precis, _ = obj.GetString("summary") @@ -492,6 +494,29 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { if convoy == "" { convoy, _ = obj.GetString("conversation") } + if ot == "Question" { + what = "qonk" + content += "" + } if what == "honk" && rid != "" { what = "tonk" } diff --git a/docs/changelog.txt b/docs/changelog.txt index c91da54..f3c23c4 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -2,9 +2,11 @@ changelog -- v ++ Read only support for qonks. + ++ Some extra commands for better database retention management. -+ Add a form to allow manual import of external posts. ++ Add a form to allow manual import of xonks. + About page