From 9cbad559a1bda6f9ff87b094d01c7511f663a893 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jakobus=20Sch=C3=BCrz?= Date: Tue, 3 Oct 2023 05:51:49 +0200 Subject: [PATCH] add self for unfollowed contact --- src/Model/Contact.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = [ -- 2.39.5