mirror of
https://github.com/friendica/friendica
synced 2025-05-04 07:04:10 +02:00
set ! and @ on mentioning in hover-card
This commit is contained in:
parent
405161998e
commit
17d7432f0e
2 changed files with 5 additions and 4 deletions
|
@ -1198,7 +1198,11 @@ class Contact
|
|||
$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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue