diff options
Diffstat (limited to 'CacheDatabase.go')
-rw-r--r-- | CacheDatabase.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CacheDatabase.go b/CacheDatabase.go index 21c1a8f..26d7d8d 100644 --- a/CacheDatabase.go +++ b/CacheDatabase.go @@ -273,8 +273,12 @@ func GetObjectByIDFromCache(db *sql.DB, postID string) Collection { CheckError(err, "error scan object into post struct cache") + actor = GetRemoteActor(actor.Id) + post.Actor = &actor + nColl.Actor = &actor + // var postCnt int // var imgCnt int post.Replies, _, _ = GetObjectRepliesDB(db, post) |