Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / phame / mail / PhameBlogReplyHandler.php
bloba6e245709ecfc11c61ecbc8460dcb032bab09687
1 <?php
3 final class PhameBlogReplyHandler
4 extends PhabricatorApplicationTransactionReplyHandler {
6 public function validateMailReceiver($mail_receiver) {
7 if (!($mail_receiver instanceof PhameBlog)) {
8 throw new Exception(
9 pht('Mail receiver is not a %s.', 'PhameBlog'));
13 public function getObjectPrefix() {
14 return PhabricatorPhameBlogPHIDType::TYPECONST;
17 protected function shouldCreateCommentFromMailBody() {
18 return false;