HomePhabricator
Diffusion Comm 8c628ce6e050

[lib] change the Send Reaction Message Success Payload and also change its…

Description

[lib] change the Send Reaction Message Success Payload and also change its reducer success case

Summary:
change the Send Reaction Message Success Payload and also change its reducer success case. The big change here is that we no longer want to use the same success case as restoreEntryActionTypes, changeThreadSettingsActionTypes, etc. With localID we can use the same success case as sendTextMessageActionTypes and sendMultimediaMessageActionTypes since we are grabbing the message info from the local message.

Also got rid of SendReactionMessagePayload since we are just using SendMessagePayload for reaction messages


Depends on D6151
Linear Task: ENG-2599

Test Plan:
Please watch the demo videos to see how the redux state changes when a reaction message is successful:

Native:

Web:

Reviewers: atul, tomek

Reviewed By: tomek

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D6153