mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-29 00:04:52 +09:00
If an actor doesn't have SSH keys, don't list an "sshKey":[] property
This commit is contained in:
parent
1c56f63e86
commit
0be7f05d31
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ instance ActivityPub Actor where
|
||||||
<> "outbox" .=? (ObjURI authority <$> outbox)
|
<> "outbox" .=? (ObjURI authority <$> outbox)
|
||||||
<> "followers" .=? (ObjURI authority <$> followers)
|
<> "followers" .=? (ObjURI authority <$> followers)
|
||||||
<> "publicKey" `pair` encodePublicKeySet authority pkeys
|
<> "publicKey" `pair` encodePublicKeySet authority pkeys
|
||||||
<> "sshKey" .= map (ObjURI authority) skeys
|
<> "sshKey" .=% map (ObjURI authority) skeys
|
||||||
|
|
||||||
data Repo u = Repo
|
data Repo u = Repo
|
||||||
{ repoActor :: Actor u
|
{ repoActor :: Actor u
|
||||||
|
|
Loading…
Reference in a new issue