Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2844521
D13406.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
850 B
Referenced Files
None
Subscribers
None
D13406.diff
View Options
diff --git a/lib/hooks/input-state-container-hooks.js b/lib/hooks/input-state-container-hooks.js
--- a/lib/hooks/input-state-container-hooks.js
+++ b/lib/hooks/input-state-container-hooks.js
@@ -129,8 +129,9 @@
);
const threadInfo = threadInfos[messageInfo.threadID];
+ const isThickThread = threadInfo && threadTypeIsThick(threadInfo.type);
- if (!threadTypeIsThick(threadInfo.type) && isLegacy) {
+ if (!isThickThread && isLegacy) {
const mediaIDs = [];
for (const { id } of messageInfo.media) {
mediaIDs.push(id);
@@ -149,7 +150,7 @@
};
}
- if (!threadTypeIsThick(threadInfo.type) && !isLegacy) {
+ if (!isThickThread && !isLegacy) {
const mediaMessageContents = getMediaMessageServerDBContentsFromMedia(
messageInfo.media,
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 30, 7:35 PM (20 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2203109
Default Alt Text
D13406.diff (850 B)
Attached To
Mode
D13406: [lib] fix creating thin threads with multimedia
Attached
Detach File
Event Timeline
Log In to Comment