aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-24 10:59:49 -0800
committerFChannel <=>2021-01-24 10:59:49 -0800
commit895d90f8dd038540e65cf291f003195a0f6bd024 (patch)
treef8c9dcd4fc735cc1b9dc76866df8215c516abb8f /client.go
parent2ca021e2c6599b39e6225fdbd449093517a34418 (diff)
domain routing bug
Diffstat (limited to 'client.go')
-rw-r--r--client.go7
1 files changed, 7 insertions, 0 deletions
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)