diff options
author | Mario <mario@mariovavti.com> | 2021-01-09 20:20:48 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-09 20:20:48 +0000 |
commit | efb8a29b5fcacd491c5e080572581437b6000f87 (patch) | |
tree | 8ad3cde2f26845f6a7af5aeec6b9a0cdaba0bd3b /include | |
parent | ff100a499a2813c1ffa31db04936b04d4b2c8eb4 (diff) | |
download | volse-hubzilla-efb8a29b5fcacd491c5e080572581437b6000f87.tar.gz volse-hubzilla-efb8a29b5fcacd491c5e080572581437b6000f87.tar.bz2 volse-hubzilla-efb8a29b5fcacd491c5e080572581437b6000f87.zip |
keyid adapt for backward compatibility to current release part 2
Diffstat (limited to 'include')
-rw-r--r-- | include/import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php index b512e1f11..82d6cfe07 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_url($channel), true, 'sha512'); + $headers = HTTPSig::create_sig($headers, $channel['channel_prvkey'], channel_reddress($channel), true, 'sha512'); $x = z_post_url($fetch_url,$parr,$redirects,[ 'filep' => $fp, 'headers' => $headers]); fclose($fp); |