Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3349427
D9705.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
632 B
Referenced Files
None
Subscribers
None
D9705.diff
View Options
diff --git a/lib/reducers/message-reducer.js b/lib/reducers/message-reducer.js
--- a/lib/reducers/message-reducer.js
+++ b/lib/reducers/message-reducer.js
@@ -1171,7 +1171,6 @@
},
};
} else if (action.type === messageStorePruneActionType) {
- const now = Date.now();
const messageIDsToPrune = [];
const updatedThreads: { [string]: ThreadMessageInfo } = {};
@@ -1180,7 +1179,6 @@
if (!thread) {
continue;
}
- thread = { ...thread, lastPruned: now };
const newMessageIDs = [...thread.messageIDs];
const removed = newMessageIDs.splice(defaultNumberPerThread);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 5:59 PM (20 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2571889
Default Alt Text
D9705.diff (632 B)
Attached To
Mode
D9705: [Flow202][lib][skip-ci] [13/23] Fix Flow issues relating to lastPruned that was accidentally left in message-reducer
Attached
Detach File
Event Timeline
Log In to Comment