Page MenuHomePhabricator

D11589.diff
No OneTemporary

D11589.diff

diff --git a/src/applications/metamta/replyhandler/PhabricatorMailReplyHandler.php b/src/applications/metamta/replyhandler/PhabricatorMailReplyHandler.php
--- a/src/applications/metamta/replyhandler/PhabricatorMailReplyHandler.php
+++ b/src/applications/metamta/replyhandler/PhabricatorMailReplyHandler.php
@@ -325,9 +325,10 @@
return $body;
}
- // TODO: (T603) What's the policy here?
- $files = id(new PhabricatorFile())
- ->loadAllWhere('phid in (%Ls)', $attachments);
+ $files = id(new PhabricatorFileQuery())
+ ->setViewer($this->getActor())
+ ->withPHIDs($attachments)
+ ->execute();
// if we have some text then double return before adding our file list
if ($body) {

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 9:51 PM (19 h, 54 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6916196
Default Alt Text
D11589.diff (730 B)

Event Timeline