forked from GNUsocial/gnu-social
Local user profile getUrl gives dynamically generated URL
This commit is contained in:
@@ -1431,6 +1431,8 @@ class Profile extends Managed_DataObject
|
|||||||
: $this->profileurl;
|
: $this->profileurl;
|
||||||
}
|
}
|
||||||
Event::handle('EndUserGroupHomeUrl', array($this->getGroup(), $url));
|
Event::handle('EndUserGroupHomeUrl', array($this->getGroup(), $url));
|
||||||
|
} elseif ($this->isLocal()) {
|
||||||
|
$url = common_local_url('showstream', array('nickname' => $this->getNickname()));
|
||||||
} else {
|
} else {
|
||||||
$url = $this->profileurl;
|
$url = $this->profileurl;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user