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)
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
Unknown Object (File)
Thu, Dec 5, 1:57 AM
Unknown Object (File)
Nov 11 2024, 2:18 AM
Unknown Object (File)
Nov 8 2024, 5:05 PM
Unknown Object (File)
Nov 8 2024, 5:04 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
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