Select the types of activity you want to include in your feed.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
···11+UPDATE {$NAMESPACE}_herald.herald_action a
22+ JOIN {$NAMESPACE}_herald.herald_rule r
33+ ON a.ruleID = r.id
44+ SET a.action = 'diffusion.block'
55+ WHERE r.contentType != 'differential.diff'
66+ AND a.action = 'block';
77+88+UPDATE {$NAMESPACE}_herald.herald_action a
99+ JOIN {$NAMESPACE}_herald.herald_rule r
1010+ ON a.ruleID = r.id
1111+ SET a.action = 'differential.block'
1212+ WHERE r.contentType = 'differential.diff'
1313+ AND a.action = 'block';
···11-<?php
22-33-abstract class HeraldCustomAction extends Phobject {
44-55- abstract public function appliesToAdapter(HeraldAdapter $adapter);
66-77- abstract public function appliesToRuleType($rule_type);
88-99- abstract public function getActionKey();
1010-1111- abstract public function getActionName();
1212-1313- abstract public function getActionType();
1414-1515- abstract public function applyEffect(
1616- HeraldAdapter $adapter,
1717- $object,
1818- HeraldEffect $effect);
1919-2020-}