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
Thu, Nov 7, 12:01 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6720754
Default Alt Text
D11589.diff (730 B)

Event Timeline