mongo checkin, global directory, redir rework, location basics
This commit is contained in:
parent
6ed5b642a4
commit
e0045a43e2
27 changed files with 266 additions and 144 deletions
|
@ -766,10 +766,9 @@ function photos_content(&$a) {
|
|||
|
||||
$profile_url = $item['url'];
|
||||
|
||||
|
||||
if(local_user() && ($item['contact-uid'] == $_SESSION['uid']) && (strlen($item['dfrn-id'])) && (! $item['self'] ))
|
||||
if(local_user() && ($item['contact-uid'] == $_SESSION['uid'])
|
||||
&& ($item['rel'] == DIRECTION_IN || $item['rel'] == DIRECTION_BOTH) && (! $item['self'] ))
|
||||
$profile_url = $redirect_url;
|
||||
|
||||
|
||||
$profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']);
|
||||
$profile_avatar = ((strlen($item['author-avatar'])) ? $item['author-avatar'] : $item['thumb']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue