From da7cca53510cff6229c17b3e03d965f2440c434e Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 21 Sep 2019 18:28:57 -0400 Subject: [PATCH] prefer object date --- activity.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activity.go b/activity.go index feb1ba8..70bcf89 100644 --- a/activity.go +++ b/activity.go @@ -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 {