Allow @localuser@mysite.example to be looked up as a mention

This commit is contained in:
Mikael Nordfeldth
2016-01-29 16:06:16 +01:00
parent 36f099958c
commit 689e277c62
3 changed files with 52 additions and 34 deletions

View File

@@ -1859,23 +1859,3 @@ class Ostatus_profile extends Managed_DataObject
$this->subscribe();
}
}
/**
* Exception indicating we've got a remote reference to a local user,
* not a remote user!
*
* If we can ue a local profile after all, it's available as $e->profile.
*/
class OStatusShadowException extends Exception
{
public $profile;
/**
* @param Profile $profile
* @param string $message
*/
function __construct($profile, $message) {
$this->profile = $profile;
parent::__construct($message);
}
}