mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 15:15:13 +00:00
federation fixes after last dev push
This commit is contained in:
parent
9ba93fade6
commit
64eebbe695
2 changed files with 2 additions and 2 deletions
|
@ -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 = [];
|
||||||
|
|
|
@ -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, [
|
||||||
|
|
Loading…
Reference in a new issue