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
···194194 $conpherence_files = array();
195195 $files_authors = array();
196196 foreach ($conpherence->getFilePHIDs() as $curr_phid) {
197197- $conpherence_files[$curr_phid] = $files[$curr_phid];
197197+ $curr_file = idx($files, $curr_phid);
198198+ if (!$curr_file) {
199199+ // this file was deleted or user doesn't have permission to see it
200200+ // this is generally weird
201201+ continue;
202202+ }
203203+ $conpherence_files[$curr_phid] = $curr_file;
198204 // some files don't have authors so be careful
199205 $current_author = null;
200206 $current_author_phid = idx($file_author_phids, $curr_phid);