mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
use the hubloc_url instead of the xchan_url as they might be different.
This commit is contained in:
parent
191305ac68
commit
88373c7140
1 changed files with 3 additions and 3 deletions
|
@ -1539,10 +1539,10 @@ function conv_sort($arr, $order)
|
|||
// or other channel streams on this site which are not owned by the viewer
|
||||
|
||||
if (local_channel()) {
|
||||
$m = parse_url($item['author']['xchan_url']);
|
||||
$m = parse_url($item['author']['hubloc_url']);
|
||||
$authorSite = $m['scheme'] . '://' . $m['host']
|
||||
. ((isset($m['port']) && intval($m['port'])) ? ':' . $m['port'] : '');
|
||||
$m = parse_url($item['owner']['xchan_url']);
|
||||
$m = parse_url($item['owner']['hubloc_url']);
|
||||
$ownerSite = $m['scheme'] . '://' . $m['host']
|
||||
. ((isset($m['port']) && intval($m['port'])) ? ':' . $m['port'] : '');
|
||||
|
||||
|
|
Loading…
Reference in a new issue