Page MenuHomePhabricator

D9705.diff
No OneTemporary

D9705.diff

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

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)

Event Timeline