Permalink
Browse files

Merge pull request #122 from KorvinSzanto/master

Quick ircbot differential
  • Loading branch information...
2 parents 8883c94 + 9342466 commit c0c54e861e5f2613736b6265d312d24fa97a34a5 @epriestley epriestley committed Jun 5, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/infrastructure/daemon/irc/handler/PhabricatorIRCObjectNameHandler.php
@@ -100,11 +100,15 @@ public function receiveMessage(PhabricatorIRCMessage $message) {
if ($revision_ids) {
$revisions = $this->getConduit()->callMethodSynchronous(
- 'differential.find',
+ 'differential.query',
array(
'query' => 'revision-ids',
- 'guids' => $revision_ids,
+ 'ids' => $revision_ids,
));
+ $revisions = array_select_keys(
+ ipull($revisions, null, 'id'),
+ $revision_ids
+ );
foreach ($revisions as $revision) {
$output[$revision['phid']] =
'D'.$revision['id'].' '.$revision['name'].' - '.

0 comments on commit c0c54e8

Please sign in to comment.