looks like we can just treat article as a long note

master
Ted Unangst 5 years ago
parent c163c74499
commit d52111ca8e

@ -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")

Loading…
Cancel
Save