From b5d093e5caa87517280912e40a0f47352dca3f04 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 21 Sep 2016 15:28:37 -0700 Subject: finish the channel_reddress() conversion --- include/security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/security.php') diff --git a/include/security.php b/include/security.php index 83bf51bc0..9b508d339 100644 --- a/include/security.php +++ b/include/security.php @@ -265,7 +265,7 @@ function change_channel($change_channel) { ); if($x) { $_SESSION['my_url'] = $x[0]['xchan_url']; - $_SESSION['my_address'] = $r[0]['channel_address'] . '@' . App::get_hostname(); + $_SESSION['my_address'] = channel_reddress($r[0]); App::set_observer($x[0]); App::set_perms(get_all_perms(local_channel(), $hash)); -- cgit v1.2.3