forked from friendica/friendica-addons
prevent that contact actions are shown to not logged in users
This commit is contained in:
parent
2b40687e36
commit
22d567a28e
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ function frio_hovercard_content() {
|
|||
return;
|
||||
|
||||
// Get the photo_menu - the menu if possible contact actions
|
||||
$actions = contact_photo_menu($contact);
|
||||
if(local_user())
|
||||
$actions = contact_photo_menu($contact);
|
||||
|
||||
|
||||
// Move the contact data to the profile array so we can deliver it to
|
||||
|
|
Loading…
Reference in a new issue