diff options
author | FChannel <> | 2021-06-29 14:04:13 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-29 14:04:13 -0700 |
commit | a81f3ef5cfe72b9edf345564fc31361650f15110 (patch) | |
tree | 862ff930b44c62435c375f10cf54afb4053a6d02 /client.go | |
parent | 9b67a65d76eb98a6e405b677a20c6215e1271753 (diff) |
added public instance tracking when instance is created
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) } |