mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Remove fallback contact query from Model\Contact::photoMenu
- Correct contact is now supplied to the method
This commit is contained in:
parent
2d9633a595
commit
9da21bf680
3 changed files with 37 additions and 49 deletions
|
@ -90,7 +90,7 @@ class Hovercard extends BaseModule
|
|||
|
||||
// Get the photo_menu - the menu if possible contact actions
|
||||
if ($this->userSession->isAuthenticated()) {
|
||||
$actions = Contact::photoMenu($contact);
|
||||
$actions = Contact::photoMenu($contact, $this->userSession->getLocalUserId());
|
||||
} else {
|
||||
$actions = [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue