aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorFChannel <>2022-06-05 21:36:17 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commitdac4b267cab31fb3a4ce301f1bcdf364fcb541a1 (patch)
tree22852a6457e08f3ea047d2c20900db73c26e2fda /db
parent3ac22385f2cb2256db718e47f5ae3c6d13353b70 (diff)
fix finger actor
Diffstat (limited to 'db')
-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" {