Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F22080947
D13754.id33221.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13754.id33221.diff
View Options
diff --git a/src/applications/conpherence/controller/ConpherenceNewRoomController.php b/src/applications/conpherence/controller/ConpherenceNewRoomController.php
--- a/src/applications/conpherence/controller/ConpherenceNewRoomController.php
+++ b/src/applications/conpherence/controller/ConpherenceNewRoomController.php
@@ -7,6 +7,7 @@
$title = pht('New Room');
$e_title = true;
+ $v_message = null;
$validation_exception = null;
$conpherence = ConpherenceThread::initializeNewRoom($user);
@@ -35,12 +36,12 @@
->setTransactionType(PhabricatorTransactions::TYPE_JOIN_POLICY)
->setNewValue($request->getStr('joinPolicy'));
- $message = $request->getStr('message');
- if ($message) {
+ $v_message = $request->getStr('message');
+ if ($v_message) {
$message_xactions = $editor->generateTransactionsFromText(
$user,
$conpherence,
- $message);
+ $v_message);
$xactions = array_merge($xactions, $message_xactions);
}
@@ -121,7 +122,8 @@
id(new PhabricatorRemarkupControl())
->setUser($user)
->setName('message')
- ->setLabel(pht('First Message')));
+ ->setLabel(pht('First Message'))
+ ->setValue($v_message));
$dialog->appendChild($form);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 21, 3:20 PM (23 h, 7 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
16602945
Default Alt Text
D13754.id33221.diff (1 KB)
Attached To
Mode
D13754: Don't reset message if missing Room Title in New Conpherence Room
Attached
Detach File
Event Timeline
Log In to Comment