]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Hovercard.php
Merge pull request #13070 from xundeenergie/fix-share-via
[friendica.git] / src / Module / Contact / Hovercard.php
index 19762e092eb92f32f7ec4c8ed9e3e0825de134bc..4d58d994c283a4a473afea3c3fe5f408e920c4d6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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 = [];
                }