Page MenuHomePhabricator

D5782.id19057.diff
No OneTemporary

D5782.id19057.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
@@ -26,6 +26,7 @@
fetchMostRecentMessagesActionTypes,
sendTextMessageActionTypes,
sendMultimediaMessageActionTypes,
+ sendReactionMessageActionTypes,
saveMessagesActionType,
processMessagesActionType,
messageStorePruneActionType,
@@ -858,6 +859,13 @@
{ [action.payload.threadID]: messageTruncationStatus.UNCHANGED },
newThreadInfos,
);
+ } else if (action.type === sendReactionMessageActionTypes.success) {
+ return mergeNewMessages(
+ messageStore,
+ action.payload.newMessageInfos,
+ { [action.payload.threadID]: messageTruncationStatus.UNCHANGED },
+ newThreadInfos,
+ );
} else if (action.type === deleteEntryActionTypes.success) {
const payload = action.payload;
if (payload) {

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 29, 12:49 AM (21 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595300
Default Alt Text
D5782.id19057.diff (917 B)

Event Timeline