Page MenuHomePhabricator

D11956.id28782.diff
No OneTemporary

D11956.id28782.diff

diff --git a/src/applications/conpherence/mail/ConpherenceReplyHandler.php b/src/applications/conpherence/mail/ConpherenceReplyHandler.php
--- a/src/applications/conpherence/mail/ConpherenceReplyHandler.php
+++ b/src/applications/conpherence/mail/ConpherenceReplyHandler.php
@@ -20,11 +20,11 @@
public function getPrivateReplyHandlerEmailAddress(
PhabricatorObjectHandle $handle) {
- return $this->getDefaultPrivateReplyHandlerEmailAddress($handle, 'E');
+ return $this->getDefaultPrivateReplyHandlerEmailAddress($handle, 'Z');
}
public function getPublicReplyHandlerEmailAddress() {
- return $this->getDefaultPublicReplyHandlerEmailAddress('E');
+ return $this->getDefaultPublicReplyHandlerEmailAddress('Z');
}
public function getReplyHandlerInstructions() {
diff --git a/src/applications/conpherence/mail/ConpherenceThreadMailReceiver.php b/src/applications/conpherence/mail/ConpherenceThreadMailReceiver.php
--- a/src/applications/conpherence/mail/ConpherenceThreadMailReceiver.php
+++ b/src/applications/conpherence/mail/ConpherenceThreadMailReceiver.php
@@ -9,11 +9,13 @@
}
protected function getObjectPattern() {
- return 'E[1-9]\d*';
+ // TODO: Only recognize "Z" once we get closer to shipping Calendar.
+ return '[EZ][1-9]\d*';
}
protected function loadObject($pattern, PhabricatorUser $viewer) {
- $id = (int)trim($pattern, 'E');
+ // TODO: Only recognize "Z" once we get closer to shipping Calendar.
+ $id = (int)trim($pattern, 'EZ');
return id(new ConpherenceThreadQuery())
->setViewer($viewer)

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 9:50 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224651
Default Alt Text
D11956.id28782.diff (1 KB)

Event Timeline