aboutsummaryrefslogtreecommitdiff
path: root/CacheDatabase.go
diff options
context:
space:
mode:
authorFChannel <=>2021-02-04 12:33:42 -0800
committerFChannel <=>2021-02-04 12:33:42 -0800
commit1df70fec27ab5e4aa3dff8521767454be6b5498c (patch)
tree4902b557879b46f37103ac7a62c62833796c8c22 /CacheDatabase.go
parentf6eecc720abaefb954fda9a26aab78bb1d706ba4 (diff)
when merging boards into a feed show the board color based on posts restrictions
Diffstat (limited to 'CacheDatabase.go')
-rw-r--r--CacheDatabase.go4
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)