diff --git a/src/infrastructure/daemon/irc/handler/objectname/PhabricatorIRCObjectNameHandler.php b/src/infrastructure/daemon/irc/handler/objectname/PhabricatorIRCObjectNameHandler.php index 0629c06df8..312ea02ffe 100644 --- a/src/infrastructure/daemon/irc/handler/objectname/PhabricatorIRCObjectNameHandler.php +++ b/src/infrastructure/daemon/irc/handler/objectname/PhabricatorIRCObjectNameHandler.php @@ -94,7 +94,17 @@ class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler { } } - // TODO: Support tasks in Conduit. + if ($task_ids) { + foreach ($task_ids as $task_id) { + $task = $this->getConduit()->callMethodSynchronous( + 'maniphest.info', + array( + 'task_id' => $task_id, + )); + $output[$task['phid']] = 'T'.$task['id'].': '.$task['title']. + ' (Priority: '.$task['priority'].') - '.$task['uri']; + } + } if ($commit_names) { $commits = $this->getConduit()->callMethodSynchronous(