mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-24 13:38:19 +01:00
Merge pull request #122 from KorvinSzanto/master
Quick ircbot differential
This commit is contained in:
commit
c0c54e861e
1 changed files with 6 additions and 2 deletions
|
@ -100,11 +100,15 @@ final class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler {
|
||||||
|
|
||||||
if ($revision_ids) {
|
if ($revision_ids) {
|
||||||
$revisions = $this->getConduit()->callMethodSynchronous(
|
$revisions = $this->getConduit()->callMethodSynchronous(
|
||||||
'differential.find',
|
'differential.query',
|
||||||
array(
|
array(
|
||||||
'query' => 'revision-ids',
|
'query' => 'revision-ids',
|
||||||
'guids' => $revision_ids,
|
'ids' => $revision_ids,
|
||||||
));
|
));
|
||||||
|
$revisions = array_select_keys(
|
||||||
|
ipull($revisions, null, 'id'),
|
||||||
|
$revision_ids
|
||||||
|
);
|
||||||
foreach ($revisions as $revision) {
|
foreach ($revisions as $revision) {
|
||||||
$output[$revision['phid']] =
|
$output[$revision['phid']] =
|
||||||
'D'.$revision['id'].' '.$revision['name'].' - '.
|
'D'.$revision['id'].' '.$revision['name'].' - '.
|
||||||
|
|
Loading…
Add table
Reference in a new issue