HomePhabricator
Diffusion Comm 7a552df95c20

[keyserver] introduced reactionMessageCreationResponder function to message…

Description

[keyserver] introduced reactionMessageCreationResponder function to message responders

Summary:
introduced reactionMessageCreationResponder function to message responders. reactionMessageCreationResponder validates the input from the client, does the permission checks, and if everything is copacetic creates the reaction message data object, and sends it to createMessages where it gets pushed into the db


Depends on D5747 and D5752

Linear Task: ENG-2250

Test Plan:
This will be tested further in subsequent diffs. But ran this locally on web/mobile and nothing crashed. Also helped me get to the point where I could push a reaction message into the DB (see screenshot below)

Screenshot 2022-11-28 at 7.16.55 PM.png (2×3 px, 1 MB)

Reviewers: atul, rohan, tomek, ashoat

Reviewed By: tomek, ashoat

Subscribers: ashoat, tomek, atul

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