Working on some RSVP code stuff

This commit is contained in:
Mikael Nordfeldth
2016-01-21 02:10:34 +01:00
parent 5999171c11
commit f74d2d555c
10 changed files with 126 additions and 66 deletions

View File

@@ -108,6 +108,7 @@ abstract class ActivityHandlerPlugin extends Plugin
}
function isMyType($type) {
// Third argument to compareTypes is true, to allow for notices with empty object_type for example (verb-only)
return count($this->types())===0 || ActivityUtils::compareTypes($type, $this->types());
}