Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3380594
D5782.id19057.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
917 B
Referenced Files
None
Subscribers
None
D5782.id19057.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
@@ -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
Details
Attached
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)
Attached To
Mode
D5782: [lib] introduce sendReactionMessage success case to message reducers
Attached
Detach File
Event Timeline
Log In to Comment