diff options
author | FChannel <=> | 2021-01-24 10:59:49 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-24 10:59:49 -0800 |
commit | 895d90f8dd038540e65cf291f003195a0f6bd024 (patch) | |
tree | f8c9dcd4fc735cc1b9dc76866df8215c516abb8f /client.go | |
parent | 2ca021e2c6599b39e6225fdbd449093517a34418 (diff) |
domain routing bug
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |