1
1
Fork 0

Added option to stay on the local machine when clicking on a contact link

This commit is contained in:
Michael 2020-09-30 17:30:26 +00:00
commit 5dd426f526
7 changed files with 25 additions and 5 deletions

View file

@ -734,7 +734,7 @@ function conversation_fetch_comments($thread_items, $pinned) {
$row['direction'] = ['direction' => 4, 'title' => DI::l10n()->t('Tagged')];
break;
case Item::PT_ANNOUNCEMENT:
if (!empty($row['causer-id']) && DI::pConfig()->get(local_user(), 'system', 'display_resharer') ) {
if (!empty($row['causer-id']) && DI::pConfig()->get(local_user(), 'system', 'display_resharer')) {
$row['owner-link'] = $row['causer-link'];
$row['owner-avatar'] = $row['causer-avatar'];
$row['owner-name'] = $row['causer-name'];