default page on login changed to matrix (/network)
This commit is contained in:
parent
367b21f886
commit
257b1db08d
@ -8,8 +8,12 @@ function home_init(&$a) {
|
||||
|
||||
$channel = $a->get_channel();
|
||||
|
||||
if(local_user() && $channel && $channel['xchan_url'])
|
||||
goaway( $channel['xchan_url']);
|
||||
if(local_user() && $channel && $channel['xchan_url']) {
|
||||
$dest = get_pconfig(local_user(),'system','startpage');
|
||||
if(! $dest)
|
||||
$dest = z_root() . '/network';
|
||||
goaway($dest);
|
||||
}
|
||||
|
||||
if(get_account_id()) {
|
||||
goaway('new_channel');
|
||||
|
Reference in New Issue
Block a user