Activity page shows create events only

This commit is contained in:
2019-08-27 15:03:29 +09:00
parent f1ccc6c0c6
commit b13b337990
6 changed files with 35 additions and 17 deletions

View File

@ -56,6 +56,11 @@ func (post *Post) GetParentID() string {
return post.ParentID
}
// GetParentType returns the object type of the parent.
func (post *Post) GetParentType() string {
return post.ParentType
}
// SetParent sets a new parent.
func (post *Post) SetParent(newParent PostParent) {
// Remove from old parent