Page MenuHomePhabricator

[keyserver] Adding edit_message to the sidebar thread
ClosedPublic

Authored by kuba on Mar 22 2023, 6:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 3:02 AM
Unknown Object (File)
Thu, Mar 28, 2:53 AM
Unknown Object (File)
Mar 7 2024, 1:30 PM
Unknown Object (File)
Mar 7 2024, 1:10 PM
Unknown Object (File)
Mar 7 2024, 12:40 PM
Unknown Object (File)
Mar 7 2024, 10:27 AM
Unknown Object (File)
Mar 5 2024, 11:46 PM
Unknown Object (File)
Mar 5 2024, 11:46 PM
Subscribers

Details

Summary

This handles the situation, where the user edits a message which has a sidebar. It adds edit_message to the sidebar thread.

Test Plan

Called editing message endpoint for a message which has a sidebar. The edit message has been added to both the main thread and the sidebar thread. Reducer on client side properly
merges two new messages instead of one.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat added inline comments.
keyserver/src/responders/message-responders.js
344 ↗(On Diff #23993)

Nit: this line should be grouped with where it's used, instead of with the creatorID check above

357 ↗(On Diff #23993)

I don't think this comment is adding any value. I would remove it

This revision is now accepted and ready to land.Mar 22 2023, 3:25 PM
kuba marked 2 inline comments as done.

Address comments