Page MenuHomePhabricator

D9765.id32949.diff
No OneTemporary

D9765.id32949.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
Sat, Nov 30, 10:56 PM (20 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2602683
Default Alt Text
D9765.id32949.diff (878 B)

Event Timeline