diff --git a/src/applications/conpherence/controller/ConpherenceViewController.php b/src/applications/conpherence/controller/ConpherenceViewController.php index 925843c45c..173b3c5c47 100644 --- a/src/applications/conpherence/controller/ConpherenceViewController.php +++ b/src/applications/conpherence/controller/ConpherenceViewController.php @@ -112,6 +112,9 @@ final class ConpherenceViewController extends $transactions = $conpherence->getTransactions(); foreach ($transactions as $transaction) { + if ($transaction->shouldHide()) { + continue; + } $rendered_transactions[] = id(new ConpherenceTransactionView()) ->setUser($user) ->setConpherenceTransaction($transaction) diff --git a/src/applications/conpherence/storage/ConpherenceTransaction.php b/src/applications/conpherence/storage/ConpherenceTransaction.php index c75ee7cd1f..9b242275c6 100644 --- a/src/applications/conpherence/storage/ConpherenceTransaction.php +++ b/src/applications/conpherence/storage/ConpherenceTransaction.php @@ -29,8 +29,9 @@ final class ConpherenceTransaction extends PhabricatorApplicationTransaction { return ($old === null); case ConpherenceTransactionType::TYPE_TITLE: case ConpherenceTransactionType::TYPE_PICTURE: - case ConpherenceTransactionType::TYPE_FILES: return false; + case ConpherenceTransactionType::TYPE_FILES: + return true; } return parent::shouldHide();