Merge pull request #8003 from MrPetovan/bug/notices

Fixed backlog of notices for 2019.12
This commit is contained in:
Michael Vogel 2019-12-25 11:28:01 +01:00 committed by GitHub
commit 4834fffe78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 22 deletions

View file

@ -192,6 +192,7 @@ class APContact extends BaseObject
$apcontact['addr'] = '';
}
$apcontact['pubkey'] = null;
if (!empty($compacted['w3id:publicKey'])) {
$apcontact['pubkey'] = trim(JsonLD::fetchElement($compacted['w3id:publicKey'], 'w3id:publicKeyPem', '@value'));
}