mirror of
https://github.com/friendica/friendica
synced 2024-11-19 07:03:40 +00:00
Replace last instance of local_user() used to guess authentication status in Module/Contact/Hovercard
This commit is contained in:
parent
e3e2b0e6d0
commit
50a2e7001e
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class Hovercard extends BaseModule
|
|||
}
|
||||
|
||||
// Get the photo_menu - the menu if possible contact actions
|
||||
if (local_user()) {
|
||||
if (Session::isAuthenticated()) {
|
||||
$actions = Contact::photoMenu($contact);
|
||||
} else {
|
||||
$actions = [];
|
||||
|
|
Loading…
Reference in a new issue