From efddd248f70c332e3d3c5666dfb219c0480299f3 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 18 Feb 2020 17:31:02 +0000 Subject: [PATCH] "remote_follow" is now "remote_comment" --- src/Model/Profile.php | 2 +- src/Object/Post.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Model/Profile.php b/src/Model/Profile.php index 4956ef9bb..cf9e7c620 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -786,7 +786,7 @@ class Profile $_SESSION['visitor_handle'] = $visitor['addr']; $_SESSION['visitor_home'] = $visitor['url']; $_SESSION['my_url'] = $visitor['url']; - $_SESSION['remote_follow'] = Probe::getRemoteFollowLink($visitor['url']); + $_SESSION['remote_comment'] = Probe::getRemoteFollowLink($visitor['url']); Session::setVisitorsContacts(); diff --git a/src/Object/Post.php b/src/Object/Post.php index dc4fc51f5..5f264c988 100644 --- a/src/Object/Post.php +++ b/src/Object/Post.php @@ -393,9 +393,9 @@ class Post } // Fetching of Diaspora posts doesn't always work. There are issues with reshares and possibly comments - if (($item['network'] != Protocol::DIASPORA) && empty($comment) && !empty(Session::get('remote_follow'))) { + if (($item['network'] != Protocol::DIASPORA) && empty($comment) && !empty(Session::get('remote_comment'))) { $remote_comment = [DI::l10n()->t('Comment this item on your system'), DI::l10n()->t('remote comment'), - str_replace('{uri}', urlencode($item['uri']), Session::get('remote_follow'))]; + str_replace('{uri}', urlencode($item['uri']), Session::get('remote_comment'))]; } else { $remote_comment = ''; }