@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
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Don't publish feed stories or send mail about imported events

Summary: Ref T10747. Although I could possibly imagine some very selective cases where we do this eventually, these are read-only for now and not interesting to publish/mail about. The presumption is that the original/authoritative system has already notified relevant parties or they're subscribing passively.

Test Plan: Imported some name changes for events, saw no more mail/feed stuff.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10747

Differential Revision: https://secure.phabricator.com/D16723

+10
+10
src/applications/calendar/editor/PhabricatorCalendarEventEditor.php
··· 200 200 protected function shouldPublishFeedStory( 201 201 PhabricatorLiskDAO $object, 202 202 array $xactions) { 203 + 204 + if ($object->isImportedEvent()) { 205 + return false; 206 + } 207 + 203 208 return true; 204 209 } 205 210 ··· 210 215 protected function shouldSendMail( 211 216 PhabricatorLiskDAO $object, 212 217 array $xactions) { 218 + 219 + if ($object->isImportedEvent()) { 220 + return false; 221 + } 222 + 213 223 return true; 214 224 } 215 225