aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
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)