Add ActivityPub representation for identity proofs (#10414)
* Add ActivityPub representation for identity proofs * Add tests
This commit is contained in:
parent
8fb69f1366
commit
1714ea5978
5 changed files with 93 additions and 4 deletions
|
@ -28,7 +28,8 @@ class ProofProvider::Keybase
|
|||
return
|
||||
end
|
||||
|
||||
return if @proof.provider_username.blank?
|
||||
# Do not perform synchronous validation for remote accounts
|
||||
return if @proof.provider_username.blank? || !@proof.account.local?
|
||||
|
||||
if verifier.valid?
|
||||
@proof.verified = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue