HomePhabricator
Diffusion Comm 15e24bbd1645

[keyserver] modified createMessages function to handle inserting…

Description

[keyserver] modified createMessages function to handle inserting targetMessageID into the DB

Summary:
modified createdMessages function to handle inserting targetMessageID into the DB. For these changes, I needed to check if a targetMessageID existed on the messageData object, if it did assign it to the targetMessageID variable otherwise assign targetMessageID to null. Then we wanted to modify the messageInsertQuery to handle setting targetMessageID to target_message in the db


Linear Task: ENG-2246

Test Plan:
Please see the screenshots below to see what the reaction message looks like in the db. For this example I liked the message "as you inevitably discover bugs, have feature requests..."

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

Reviewers: atul, rohan, tomek, ashoat

Reviewed By: atul, tomek, ashoat

Subscribers: ashoat, tomek, atul

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

Details

Provenance
ginsuAuthored on Dec 20 2022, 4:00 PM
Reviewer
atul
Differential Revision
D5747: [keyserver] modified createMessages function to handle inserting targetMessageID into the DB
Parents
rCOMM0c53bd135ea4: [native] Style SIWE to match designs
Branches
Unknown
Tags
Unknown