Use object's Published date in Create activity
This commit is contained in:
@@ -33,8 +33,9 @@ func NewCreateActivity(o *Object) *Activity {
|
|||||||
ID: o.ID,
|
ID: o.ID,
|
||||||
Type: "Create",
|
Type: "Create",
|
||||||
},
|
},
|
||||||
Actor: o.AttributedTo,
|
Actor: o.AttributedTo,
|
||||||
Object: o,
|
Object: o,
|
||||||
|
Published: o.Published,
|
||||||
}
|
}
|
||||||
return &a
|
return &a
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user