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
···158158159159 $this->updatePolling($response, $now, true);
160160161161+ // Reverse the new items so we insert them in chronological order.
162162+ $new_items = array_reverse($new_items);
163163+161164 $source->openTransaction();
162165 foreach ($new_items as $new_item) {
163166 $new_item->save();
···33abstract class NuanceItemType
44 extends Phobject {
5566+ private $viewer;
77+88+ public function setViewer(PhabricatorUser $viewer) {
99+ $this->viewer = $viewer;
1010+ return $this;
1111+ }
1212+1313+ public function getViewer() {
1414+ return $this->viewer;
1515+ }
1616+617 public function canUpdateItems() {
718 return false;
819 }
2020+2121+ final public function buildItemView(NuanceItem $item) {
2222+ return $this->newItemView($item);
2323+ }
2424+2525+ protected function newItemView() {
2626+ return null;
2727+ }
2828+2929+ public function getItemTypeDisplayIcon() {
3030+ return null;
3131+ }
3232+3333+ abstract public function getItemTypeDisplayName();
3434+ abstract public function getItemDisplayName(NuanceItem $item);
9351036 final public function updateItem(NuanceItem $item) {
1137 if (!$this->canUpdateItems()) {