federation fixes after last dev push

This commit is contained in:
nobody 2021-10-29 21:06:08 -07:00
parent 9ba93fade6
commit 64eebbe695
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ class Zotfinger {
$h = HTTPSig::create_sig($headers,$channel['channel_prvkey'],channel_url($channel),false); $h = HTTPSig::create_sig($headers,$channel['channel_prvkey'],channel_url($channel),false);
} }
else { else {
$h = [ 'Accept: application/x-nomad+json' ]; $h = [ 'Accept: application/x-nomad+json, application/x-zot+json' ];
} }
$result = []; $result = [];

View file

@ -787,7 +787,7 @@ class Connedit extends Controller {
if(intval($contact['abook_not_here']) && $unclonable) if(intval($contact['abook_not_here']) && ! $clonable)
$not_here = t('This connection is unreachable from this location. Location independence is not supported by their network.'); $not_here = t('This connection is unreachable from this location. Location independence is not supported by their network.');
$o .= replace_macros($tpl, [ $o .= replace_macros($tpl, [