mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Follow/Unfollow contact with a single click
This commit is contained in:
parent
5232a8583f
commit
33575a94fa
6 changed files with 88 additions and 76 deletions
|
@ -928,7 +928,7 @@ function item_photo_menu($item) {
|
|||
|
||||
if ((($cid == 0) || ($rel == Contact::FOLLOWER)) &&
|
||||
in_array($item['network'], Protocol::FEDERATED)) {
|
||||
$menu[DI::l10n()->t('Connect/Follow')] = 'follow?url=' . urlencode($item['author-link']);
|
||||
$menu[DI::l10n()->t('Connect/Follow')] = 'follow?url=' . urlencode($item['author-link']) . '&auto=1';
|
||||
}
|
||||
} else {
|
||||
$menu = [DI::l10n()->t('View Profile') => $item['author-link']];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue