Page MenuHomePhabricator

D9765.diff
No OneTemporary

D9765.diff

diff --git a/keyserver/src/fetchers/message-fetchers.js b/keyserver/src/fetchers/message-fetchers.js
--- a/keyserver/src/fetchers/message-fetchers.js
+++ b/keyserver/src/fetchers/message-fetchers.js
@@ -661,9 +661,9 @@
const viewerID = viewer.id;
const query = SQL`
SELECT m.id, m.thread AS threadID, m.content, m.time, m.type, m.creation,
- m.user AS creatorID, m.target_message as targetMessageID,
- up.id AS uploadID, up.type AS uploadType, up.secret AS uploadSecret,
- up.extra AS uploadExtra
+ m.user AS creatorID, m.target_message AS targetMessageID,
+ NULL AS subthread_permissions, up.id AS uploadID, up.type AS uploadType,
+ up.secret AS uploadSecret, up.extra AS uploadExtra
FROM messages m
LEFT JOIN uploads up ON up.container = m.id
LEFT JOIN memberships mm ON mm.thread = m.thread AND mm.user = ${viewerID}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 1:27 PM (22 h, 40 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2590545
Default Alt Text
D9765.diff (877 B)

Event Timeline