diff options
author | FChannel <> | 2022-06-05 21:36:17 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | dac4b267cab31fb3a4ce301f1bcdf364fcb541a1 (patch) | |
tree | 22852a6457e08f3ea047d2c20900db73c26e2fda /db | |
parent | 3ac22385f2cb2256db718e47f5ae3c6d13353b70 (diff) |
fix finger actor
Diffstat (limited to 'db')
-rw-r--r-- | db/database.go | 12 |
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" { |