aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-09 13:24:32 +0000
committerMario <mario@mariovavti.com>2021-01-09 13:24:32 +0000
commit61e782389c20a0d22749985177370149af4ae119 (patch)
treed9313c300db9c39147d7a78be5774b38bbe8b245 /include
parent7cfb230a5e90986b62a5c1df86ce48c894c0578c (diff)
downloadvolse-hubzilla-61e782389c20a0d22749985177370149af4ae119.tar.gz
volse-hubzilla-61e782389c20a0d22749985177370149af4ae119.tar.bz2
volse-hubzilla-61e782389c20a0d22749985177370149af4ae119.zip
more streamline keyid
Diffstat (limited to 'include')
-rw-r--r--include/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index 853690094..b512e1f11 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1463,7 +1463,7 @@ function sync_files($channel, $files) {
$headers = [];
$headers['Accept'] = 'application/x-zot+json' ;
$headers['Sigtoken'] = random_string();
- $headers = HTTPSig::create_sig($headers,$channel['channel_prvkey'],'acct:' . channel_reddress($channel),true,'sha512');
+ $headers = HTTPSig::create_sig($headers, $channel['channel_prvkey'], channel_url($channel), true, 'sha512');
$x = z_post_url($fetch_url,$parr,$redirects,[ 'filep' => $fp, 'headers' => $headers]);
fclose($fp);