+
+ // Don't send activity activities (at least for now)
+ if ($notice->object_type == ActivityObject::ACTIVITY) {
+ return false;
+ }
+
+ $allowedVerbs = array(ActivityVerb::POST, ActivityVerb::SHARE);
+
+ // Don't send things that aren't posts or repeats (at least for now)
+ if (!in_array($notice->verb, $allowedVerbs)) {
+ return false;
+ }
+