aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-13 09:34:38 +0000
committerMario <mario@mariovavti.com>2021-01-13 09:34:38 +0000
commitb7afc905ecc5b738c7696b662692f727099cb968 (patch)
tree63afb6aa19e23a4a07d661256bd786274aaad2b2 /include/import.php
parent01bd8464338e883afe375dc88e67b690a7744388 (diff)
downloadvolse-hubzilla-b7afc905ecc5b738c7696b662692f727099cb968.tar.gz
volse-hubzilla-b7afc905ecc5b738c7696b662692f727099cb968.tar.bz2
volse-hubzilla-b7afc905ecc5b738c7696b662692f727099cb968.zip
Revert "keyid adapt for backward compatibility to current release part 2"
This reverts commit efb8a29b5fcacd491c5e080572581437b6000f87.
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 82d6cfe07..b512e1f11 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'], 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);