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

Event Timeline