Page MenuHomePhabricator

D12405.id.diff
No OneTemporary

D12405.id.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;
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, 3:49 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7577566
Default Alt Text
D12405.id.diff (1 KB)

Event Timeline