prefer object date

This commit is contained in:
Ted Unangst 2019-09-21 18:28:57 -04:00
parent 6ea1f7bfa0
commit da7cca5351
1 changed files with 4 additions and 0 deletions

View File

@ -550,6 +550,10 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
oonker = extractattrto(obj)
ot, _ := obj.GetString("type")
url, _ = obj.GetString("url")
dt2, ok := obj.GetString("published")
if ok {
dt = dt2
}
if ot == "Tombstone" {
xid, _ = obj.GetString("id")
} else {