aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-21 15:28:37 -0700
committerredmatrix <mike@macgirvin.com>2016-09-21 15:28:37 -0700
commitb5d093e5caa87517280912e40a0f47352dca3f04 (patch)
tree0f0fd61b2740feadd9985eecb2d28d85401ed4f6 /include/security.php
parent10a52977f8b44ef0e1dcf1d89b51a0330340472e (diff)
downloadvolse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.tar.gz
volse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.tar.bz2
volse-hubzilla-b5d093e5caa87517280912e40a0f47352dca3f04.zip
finish the channel_reddress() conversion
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php2
1 files changed, 1 insertions, 1 deletions
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));