Page MenuHomePhabricator

D11589.id.diff
No OneTemporary

D11589.id.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
Oct 17 2024, 5:16 AM (4 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6720754
Default Alt Text
D11589.id.diff (730 B)

Event Timeline