Commit a5c1b063 authored by mmn's avatar mmn

isPerson did not exist for Ostatus_profile

parent 689e277c
......@@ -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
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment