aboutsummaryrefslogtreecommitdiff
path: root/db/database.go
diff options
context:
space:
mode:
Diffstat (limited to 'db/database.go')
-rw-r--r--db/database.go12
1 files changed, 1 insertions, 11 deletions
diff --git a/db/database.go b/db/database.go
index 2c42cf5..830edc5 100644
--- a/db/database.go
+++ b/db/database.go
@@ -85,7 +85,7 @@ func CreateNewBoard(actor activitypub.Actor) (activitypub.Actor, error) {
}
}
- {
+ if actor.Id == config.Domain {
var verify util.Verify
verify.Type = "admin"
verify.Identifier = actor.Id
@@ -95,16 +95,6 @@ func CreateNewBoard(actor activitypub.Actor) (activitypub.Actor, error) {
}
}
- {
- var verify util.Verify
- verify.Type = "janitor"
- verify.Identifier = actor.Id
-
- if err := actor.CreateVerification(verify); err != nil {
- return activitypub.Actor{}, util.MakeError(err, "CreateNewBoardDB")
- }
- }
-
activitypub.CreatePem(actor)
if actor.Name != "main" {