Page MenuHomePhabricator

D12405.id29799.diff
No OneTemporary

D12405.id29799.diff

diff --git a/src/applications/conpherence/storage/ConpherenceThread.php b/src/applications/conpherence/storage/ConpherenceThread.php
--- a/src/applications/conpherence/storage/ConpherenceThread.php
+++ b/src/applications/conpherence/storage/ConpherenceThread.php
@@ -4,6 +4,7 @@
implements
PhabricatorPolicyInterface,
PhabricatorApplicationTransactionInterface,
+ PhabricatorMentionableInterface,
PhabricatorDestructibleInterface {
protected $title;
diff --git a/src/applications/conpherence/view/ConpherenceTransactionView.php b/src/applications/conpherence/view/ConpherenceTransactionView.php
--- a/src/applications/conpherence/view/ConpherenceTransactionView.php
+++ b/src/applications/conpherence/view/ConpherenceTransactionView.php
@@ -115,6 +115,7 @@
case PhabricatorTransactions::TYPE_VIEW_POLICY:
case PhabricatorTransactions::TYPE_EDIT_POLICY:
case PhabricatorTransactions::TYPE_JOIN_POLICY:
+ case PhabricatorTransactions::TYPE_EDGE:
$content = $transaction->getTitle();
$transaction_view->addClass('conpherence-edited');
break;
@@ -130,6 +131,9 @@
}
$transaction_view->setActions(array($author->renderLink()));
break;
+ default:
+ phlog($transaction->getTransactionType());
+ break;
}
$transaction_view->appendChild(
diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -221,7 +221,8 @@
$types[] = PhabricatorTransactions::TYPE_TOKEN;
}
- if ($this->object instanceof PhabricatorProjectInterface) {
+ if ($this->object instanceof PhabricatorProjectInterface ||
+ $this->object instanceof PhabricatorMentionableInterface) {
$types[] = PhabricatorTransactions::TYPE_EDGE;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 15, 12:59 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7678833
Default Alt Text
D12405.id29799.diff (2 KB)

Event Timeline