aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-09 13:22:43 +0000
committerMario <mario@mariovavti.com>2021-01-09 13:22:43 +0000
commit7cfb230a5e90986b62a5c1df86ce48c894c0578c (patch)
tree7b9b543e48c9e9d64c7aa2f41a02d9f4acadcd49 /include/import.php
parent0e2af403298599737b41a44a0b6b3e0a1204b108 (diff)
downloadvolse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.tar.gz
volse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.tar.bz2
volse-hubzilla-7cfb230a5e90986b62a5c1df86ce48c894c0578c.zip
streamline keyid
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index d02cc1e1f..853690094 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1358,7 +1358,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);