mirror of
https://github.com/friendica/friendica
synced 2024-11-19 07:03:40 +00:00
more tweaks #13
This commit is contained in:
parent
26c4054652
commit
58eba782cf
1 changed files with 2 additions and 2 deletions
|
@ -234,7 +234,7 @@ function network_content(&$a, $update = 0) {
|
|||
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
|
||||
|
||||
if(strlen($item['author-link'])) {
|
||||
if(($item['network'] === 'dfrn') && (! $item['self'])) {
|
||||
if(link_compare($item['author-link'],$item['url']) && ($item['network'] === 'dfrn') && (! $item['self'])) {
|
||||
$profile_link = $redirect_url;
|
||||
$sparkle = ' sparkle';
|
||||
}
|
||||
|
@ -381,7 +381,7 @@ function network_content(&$a, $update = 0) {
|
|||
|
||||
if(strlen($item['author-link'])) {
|
||||
$profile_link = $item['author-link'];
|
||||
if(($item['network'] === 'dfrn') && (! $item['self'])) {
|
||||
if(link_compare($item['author-link'],$item['url']) && ($item['network'] === 'dfrn') && (! $item['self'])) {
|
||||
$profile_link = $redirect_url;
|
||||
$sparkle = ' sparkle';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue