Page MenuHomePhabricator

D4332.id13748.diff
No OneTemporary

D4332.id13748.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
@@ -562,25 +562,22 @@
updatedMessageStore.currentAsOf,
);
- const mergedMessageStore = { messages, threads, local, currentAsOf };
-
const processedMessageStore = processMessageStoreOperations(
updatedMessageStore,
newMessageOps,
);
- assertMessageStoreMessagesAreEqual(
- processedMessageStore,
- mergedMessageStore,
- `${actionType}|processed`,
- );
-
return {
messageStoreOperations: [
...updateWithLatestThreadInfosOps,
...newMessageOps,
],
- messageStore: mergedMessageStore,
+ messageStore: {
+ messages: processedMessageStore.messages,
+ threads,
+ local,
+ currentAsOf,
+ },
};
}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 9:18 PM (17 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2682017
Default Alt Text
D4332.id13748.diff (845 B)

Event Timeline