mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
de-duplicate context
This commit is contained in:
parent
4c46fa4517
commit
84cfeb5154
1 changed files with 1 additions and 9 deletions
|
@ -39,15 +39,7 @@ class LDSignatures {
|
|||
$dhash = self::hash(self::signable_data($data));
|
||||
$options['signatureValue'] = base64_encode(Crypto::sign($ohash . $dhash,$channel['channel_prvkey']));
|
||||
|
||||
$signed = array_merge([
|
||||
'@context' => [
|
||||
ACTIVITYSTREAMS_JSONLD_REV,
|
||||
'https://w3id.org/security/v1',
|
||||
Activity::ap_schema()
|
||||
],
|
||||
],$options);
|
||||
|
||||
return $signed;
|
||||
return $options;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue