isPerson did not exist for Ostatus_profile
This commit is contained in:
parent
689e277c62
commit
a5c1b063fd
@ -285,6 +285,7 @@ class OStatusPlugin extends Plugin
|
||||
{
|
||||
$matches = array();
|
||||
|
||||
$wmatches = array();
|
||||
// Webfinger matches: @user@example.com or even @user--one.george_orwell@1984.biz
|
||||
if (preg_match_all('!(?:^|\s+)@((?:\w+[\w\-\_\.]?)*(?:[\w\-\_\.]*\w+)@(?:\w+\-?\w+\.)*\w+(?:\w+\-\w+)*\.\w+)!',
|
||||
$text,
|
||||
|
@ -193,6 +193,11 @@ class Ostatus_profile extends Managed_DataObject
|
||||
}
|
||||
}
|
||||
|
||||
public function isPerson()
|
||||
{
|
||||
return $this->localProfile()->isPerson();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return boolean true if this is a remote peopletag
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user