Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3390242
D9765.id32949.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
878 B
Referenced Files
None
Subscribers
None
D9765.id32949.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9765: [keyserver] Replace undefined subthread_permissions with null
Attached
Detach File
Event Timeline
Log In to Comment