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

Remove "First Message" from New Conpherence Room workflow

Summary: Removes this feature, makes creating a room simpler and less confusing.

Test Plan: Create a room on Conpherence.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+1 -17
+1 -17
src/applications/conpherence/controller/ConpherenceNewRoomController.php
··· 7 7 8 8 $title = pht('New Room'); 9 9 $e_title = true; 10 - $v_message = null; 11 10 $validation_exception = null; 12 11 13 12 $conpherence = ConpherenceThread::initializeNewRoom($user); ··· 38 37 $xactions[] = id(new ConpherenceTransaction()) 39 38 ->setTransactionType(PhabricatorTransactions::TYPE_JOIN_POLICY) 40 39 ->setNewValue($request->getStr('joinPolicy')); 41 - 42 - $v_message = $request->getStr('message'); 43 - if (strlen($v_message)) { 44 - $message_xactions = $editor->generateTransactionsFromText( 45 - $user, 46 - $conpherence, 47 - $v_message); 48 - $xactions = array_merge($xactions, $message_xactions); 49 - } 50 40 51 41 try { 52 42 $editor ··· 125 115 ->setName('joinPolicy') 126 116 ->setPolicyObject($conpherence) 127 117 ->setCapability(PhabricatorPolicyCapability::CAN_JOIN) 128 - ->setPolicies($policies)) 129 - ->appendChild( 130 - id(new PhabricatorRemarkupControl()) 131 - ->setUser($user) 132 - ->setName('message') 133 - ->setLabel(pht('First Message')) 134 - ->setValue($v_message)); 118 + ->setPolicies($policies)); 135 119 136 120 $dialog->appendChild($form); 137 121