From 895d90f8dd038540e65cf291f003195a0f6bd024 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Sun, 24 Jan 2021 10:59:49 -0800 Subject: domain routing bug --- client.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client.go') diff --git a/client.go b/client.go index e0c5975..b197168 100644 --- a/client.go +++ b/client.go @@ -389,6 +389,13 @@ func WantToServe(db *sql.DB, actorName string) (Collection, bool) { var collection Collection serve := false + + boardActor := GetActorByNameFromDB(db, actorName) + + if boardActor.Id != "" { + collection = GetActorCollectionDB(db, boardActor) + return collection, true + } for _, e := range *Boards { boardActor := GetActorFromDB(db, e.Id) -- cgit v1.2.3