@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.

Calendar event list items 'Attending:' field should only show users who have confirmed attendance

Summary: Fixes T8897

Test Plan: Open any list view of Calendar events, every event should only show "Attending: ..." with users who are attending event.

Reviewers: chad, epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T8897

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

+4 -1
+4 -1
src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
··· 271 271 $attendees = array(); 272 272 273 273 foreach ($event->getInvitees() as $invitee) { 274 - $attendees[] = $invitee->getInviteePHID(); 274 + $status_attending = PhabricatorCalendarEventInvitee::STATUS_ATTENDING; 275 + if ($invitee->getStatus() === $status_attending) { 276 + $attendees[] = $invitee->getInviteePHID(); 277 + } 275 278 } 276 279 277 280 if ($event->getIsGhostEvent()) {