From 22841e15666a6678517cf7a1f8f8791dcd37e1a6 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 8 Nov 2012 19:07:19 -0800 Subject: start implementing zot-id --- include/security.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/security.php') diff --git a/include/security.php b/include/security.php index ea3df2511..eeec2b3d6 100644 --- a/include/security.php +++ b/include/security.php @@ -222,6 +222,9 @@ function change_channel($change_channel) { dbesc($hash) ); if($x) { + $_SESSION['my_url'] = $x[0]['xchan_url']; + $_SESSION['my_address'] = $x[0]['xchan_addr']; + get_app()->set_observer($x[0]); get_app()->set_perms(get_all_perms(local_user(),$hash)); } -- cgit v1.2.3