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