prefer object date
This commit is contained in:
parent
6ea1f7bfa0
commit
da7cca5351
|
@ -550,6 +550,10 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
||||||
oonker = extractattrto(obj)
|
oonker = extractattrto(obj)
|
||||||
ot, _ := obj.GetString("type")
|
ot, _ := obj.GetString("type")
|
||||||
url, _ = obj.GetString("url")
|
url, _ = obj.GetString("url")
|
||||||
|
dt2, ok := obj.GetString("published")
|
||||||
|
if ok {
|
||||||
|
dt = dt2
|
||||||
|
}
|
||||||
if ot == "Tombstone" {
|
if ot == "Tombstone" {
|
||||||
xid, _ = obj.GetString("id")
|
xid, _ = obj.GetString("id")
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue