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