mirror of
https://github.com/friendica/friendica
synced 2025-04-27 02:30:10 +00:00
Remotely load posts to comment on them on the own page
This commit is contained in:
parent
d09b3f5bde
commit
d64bb0dd8f
6 changed files with 26 additions and 0 deletions
|
@ -27,6 +27,7 @@ use Friendica\Content\Widget\ContactBlock;
|
|||
use Friendica\Core\Cache\Duration;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Network\Probe;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\Session;
|
||||
|
@ -785,6 +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::setVisitorsContacts();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue