aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-29 22:08:37 -0700
committerzotlabs <mike@macgirvin.com>2017-08-29 22:08:37 -0700
commit5abc9ef10b385dea34c16337df65f99e8ec4d883 (patch)
tree33af25a032aeeace8b69ca5a0c56d98bf7df91a2
parentd47df8663f16aa2180bf0658c4d7782845fb9362 (diff)
downloadvolse-hubzilla-5abc9ef10b385dea34c16337df65f99e8ec4d883.tar.gz
volse-hubzilla-5abc9ef10b385dea34c16337df65f99e8ec4d883.tar.bz2
volse-hubzilla-5abc9ef10b385dea34c16337df65f99e8ec4d883.zip
bring back nomadic locations
-rw-r--r--Zotlabs/Lib/LDSignatures.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Lib/LDSignatures.php b/Zotlabs/Lib/LDSignatures.php
index a52946a32..88dfe80c0 100644
--- a/Zotlabs/Lib/LDSignatures.php
+++ b/Zotlabs/Lib/LDSignatures.php
@@ -84,6 +84,7 @@ class LDSignatures {
static function salmon_sign($data,$channel) {
+ $arr = $data;
$data = json_encode($data,JSON_UNESCAPED_SLASHES);
$data = base64url_encode($data, false); // do not strip padding
$data_type = 'application/activity+json';
@@ -100,6 +101,7 @@ class LDSignatures {
$signature = base64url_encode(rsa_sign($data . $precomputed,$channel['channel_prvkey']));
return ([
+ 'id' => $arr['id'],
'meData' => $data,
'meDataType' => $data_type,
'meEncoding' => $encoding,