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

Fix Conpherence theme variables for both logged-out and logged-in users

Summary: Ref T12622.

Test Plan: As a logged-out and logged-in user, loaded Conpherence threads.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12622

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

+3 -2
+3 -2
src/applications/conpherence/storage/ConpherenceThread.php
··· 204 204 } 205 205 206 206 $user_participation = $this->getParticipantIfExists($viewer->getPHID()); 207 - $theme_class = ConpherenceRoomSettings::COLOR_LIGHT; 207 + $theme = ConpherenceRoomSettings::COLOR_LIGHT; 208 208 if ($user_participation) { 209 209 $user_seen_count = $user_participation->getSeenMessageCount(); 210 210 $participant = $this->getParticipant($viewer->getPHID()); 211 211 $settings = $participant->getSettings(); 212 212 $theme = idx($settings, 'theme', $theme); 213 - $theme_class = ConpherenceRoomSettings::getThemeClass($theme); 214 213 } else { 215 214 $user_seen_count = 0; 216 215 } 216 + 217 217 $unread_count = $this->getMessageCount() - $user_seen_count; 218 + $theme_class = ConpherenceRoomSettings::getThemeClass($theme); 218 219 219 220 $title = $this->getTitle(); 220 221 $topic = $this->getTopic();