changes to fit to showgroup-button branch

This commit is contained in:
Jakobus Schürz (admin) 2023-10-01 14:33:08 +02:00
parent 9dfe39b83d
commit 405161998e
2 changed files with 3 additions and 2 deletions

View file

@ -1201,6 +1201,7 @@ class Contact
$mention_url = 'compose/0?body=@' . $contact['addr'];
$contact_url = 'contact/' . $contact['id'];
$posts_link = 'contact/' . $contact['id'] . '/conversations';
$group_link = 'network/group/' . $contact['id'];
$follow_link = '';
$unfollow_link = '';
@ -1235,7 +1236,7 @@ class Contact
'mention' => [DI::l10n()->t('Mention'), DI::l10n()->t('Post to group'), $mention_url, false],
'follow' => [DI::l10n()->t('Connect/Follow'), $follow_link, true],
'unfollow' => [DI::l10n()->t('Unfollow'), $unfollow_link, true],
'isgroup' => [$contact['forum'], true],
'group' => [DI::l10n()->t('View group'), $group_link, $contact['forum'], true],
];
if (!empty($contact['pending'])) {