issue: https://linear.app/comm/issue/ENG-3689/implement-fetching-edits-sidebar-source-and-reactions
This function takes rows from messages table, and returns RawMessageInfo for those rows and messages related, ie edits, reactions and sidebar_sources.
For sidebar_source, edit_message and reaction messages there are no sidebar_source, edit_message and reaction messages (user cannot react to a reaction message etc). So those messages are not passed to
fetchRelatedMessages function.
Details
Details
Called the function on some rows, checked that all related messages are returned (and the messages from the rows).
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
keyserver/src/fetchers/message-fetchers.js | ||
---|---|---|
750 ↗ | (On Diff #25651) | Realizing this error message should be updated to mention TOGGLE_PIN (Please adjust to keep under 80 chars) |
900–902 ↗ | (On Diff #25651) | Since we use this also on line 747, can we factor it out into a function in lib/types/message-types.js? (Also look for other cases where it should be used in the codebase) |
keyserver/src/fetchers/message-fetchers.js | ||
---|---|---|
750 ↗ | (On Diff #25651) | Or maybe make this error message more generic to avoid having to update the message if we added other message types in the future. |