$follow_link = '';
$unfollow_link = '';
$wallmessage_link = '';
- $showforum_link = '';
$photo = Contact::getPhoto($contact);
'$unfollow_link' => $unfollow_link,
'$wallmessage' => DI::l10n()->t('Message'),
'$wallmessage_link' => $wallmessage_link,
- '$showforum' => DI::l10n()->t('Show forum'),
- '$showforum_link' => $showforum_link,
'$mentioning' => DI::l10n()->t('Mention'),
'$post2group' => DI::l10n()->t('Post to group'),
]);
$pm_url = 'message/new/' . $contact['id'];
}
- $mention_url = 'compose/0?body=@' . $contact['addr'];
+ if (in_array($contact['rel'], [contact::SHARING])) {
+ $mention_url = 'compose/0?body=!' . $contact['addr'];
+ } else {
+ $mention_url = 'compose/0?body=@' . $contact['addr'];
+ }
$contact_url = 'contact/' . $contact['id'];
$posts_link = 'contact/' . $contact['id'] . '/conversations';
$group_link = 'network/group/' . $contact['id'];