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
F3525846: D7145.id24064.diff
Mon, Dec 23, 6:32 PM
F3525550: D7145.id24474.diff
Mon, Dec 23, 5:38 PM
F3525514: D7145.id23993.diff
Mon, Dec 23, 5:26 PM
F3524358: D7145.diff
Mon, Dec 23, 12:24 PM
Unknown Object (File)
Sun, Dec 15, 2:45 PM
Unknown Object (File)
Sat, Dec 7, 11:38 PM
Unknown Object (File)
Sat, Dec 7, 11:38 PM
Unknown Object (File)
Thu, Dec 5, 1:57 AM
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
Branch
kuba/messageediting
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat added inline comments.
keyserver/src/responders/message-responders.js
344

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

357

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