From 1df70fec27ab5e4aa3dff8521767454be6b5498c Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Thu, 4 Feb 2021 12:33:42 -0800 Subject: when merging boards into a feed show the board color based on posts restrictions --- CacheDatabase.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CacheDatabase.go') 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) -- cgit v1.2.3