From a81f3ef5cfe72b9edf345564fc31361650f15110 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Tue, 29 Jun 2021 14:04:13 -0700 Subject: added public instance tracking when instance is created --- client.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client.go') diff --git a/client.go b/client.go index d91bbc7..97222d1 100644 --- a/client.go +++ b/client.go @@ -46,6 +46,7 @@ type PageData struct { Key string PostId string Instance Actor + InstanceIndex []ObjectBase } type AdminPage struct { @@ -88,6 +89,7 @@ func IndexGet(w http.ResponseWriter, r *http.Request, db *sql.DB) { data.Board.Actor = actor data.Board.Post.Actor = actor.Id data.Board.Restricted = actor.Restricted + data.InstanceIndex = GetCollectionFromReq("https://fchan.xyz/followers").Items t.ExecuteTemplate(w, "layout", data) } -- cgit v1.2.3