forked from GNUsocial/gnu-social
OStatus support for people tags
This commit is contained in:
@@ -112,6 +112,12 @@ class SalmonAction extends Action
|
||||
case ActivityVerb::LEAVE:
|
||||
$this->handleLeave();
|
||||
break;
|
||||
case ActivityVerb::TAG:
|
||||
$this->handleTag();
|
||||
break;
|
||||
case ActivityVerb::UNTAG:
|
||||
$this->handleUntag();
|
||||
break;
|
||||
case ActivityVerb::UPDATE_PROFILE:
|
||||
$this->handleUpdateProfile();
|
||||
break;
|
||||
@@ -172,6 +178,16 @@ class SalmonAction extends Action
|
||||
throw new ClientException(_m("This target doesn't understand leave events."));
|
||||
}
|
||||
|
||||
function handleTag()
|
||||
{
|
||||
throw new ClientException(_m("This target doesn't understand tag events."));
|
||||
}
|
||||
|
||||
function handleUntag()
|
||||
{
|
||||
throw new ClientException(_m("This target doesn't understand untag events."));
|
||||
}
|
||||
|
||||
/**
|
||||
* Remote user sent us an update to their profile.
|
||||
* If we already know them, accept the updates.
|
||||
|
Reference in New Issue
Block a user