looks like we can just treat article as a long note

This commit is contained in:
Ted Unangst 2019-04-13 15:57:25 -04:00
parent c163c74499
commit d52111ca8e
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ func xonkxonk(item interface{}) *Honk {
if obj != nil {
ot, _ := jsongetstring(obj, "type")
url, _ = jsongetstring(obj, "url")
if ot == "Note" {
if ot == "Note" || ot == "Article" {
audience = newphone(audience, obj)
xid, _ = jsongetstring(obj, "id")
content, _ = jsongetstring(obj, "content")