From: Jakobus Schürz Date: Tue, 3 Oct 2023 03:51:49 +0000 (+0200) Subject: add self for unfollowed contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9cbad559a1bda6f9ff87b094d01c7511f663a893;p=friendica.git add self for unfollowed contact --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 3e547fcaff..47b8ad4cfd 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1239,7 +1239,9 @@ class Contact 'edit' => [DI::l10n()->t('View Contact'), $contact_url, false], 'follow' => [DI::l10n()->t('Connect/Follow'), $follow_link, true], 'unfollow' => [DI::l10n()->t('Unfollow'), $unfollow_link, true], - 'mention' => [$mention_label, $mention_url, false], + 'mention' => [DI::l10n()->t('Mention'), DI::l10n()->t('Post to group'), $mention_url, false], + 'group' => [DI::l10n()->t('View group'), $group_link, $contact['forum'], true], + 'self' => [$contact['self'] ?? false, true], ]; } else { $menu = [