From f6a78452f36454101ab5c8add297657680557091 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jan 2012 10:50:53 -0800 Subject: [PATCH] Added Fn directive to IRCbot D1456 --- .../PhabricatorIRCObjectNameHandler.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/infrastructure/daemon/irc/handler/objectname/PhabricatorIRCObjectNameHandler.php b/src/infrastructure/daemon/irc/handler/objectname/PhabricatorIRCObjectNameHandler.php index 52e27208c7..1c2fa71550 100644 --- a/src/infrastructure/daemon/irc/handler/objectname/PhabricatorIRCObjectNameHandler.php +++ b/src/infrastructure/daemon/irc/handler/objectname/PhabricatorIRCObjectNameHandler.php @@ -46,7 +46,7 @@ class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler { $pattern = '@'. '(?getConduit()->callMethodSynchronous( + 'file.info', + array( + 'id' => $file_id, + )); + $output[$file['phid']] = $file['objectName'].": ".$file['uri']." - ". + $file['name']; + } + } if ($paste_ids) { foreach ($paste_ids as $paste_id) {