Repository navigation
fix(chat): conversation reads do not return the id of the connection a conversation or a message came from - #387
Merged
IvanJS17 merged 2 commits intoNov 28, 2026
Conversation
…a conversation or a message came from One helper removes it where the rows leave: the chat a reader is given access to (so every chat route), the list of a matter's chats, the message reads and the downloads. The origin and the app's name stay. The docs sentence now says exactly that.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Conversation reads no longer return the id of the connection a conversation or a message came from.
What changed
withoutConnectionId(backend/src/lib), called at the five places where the rows leave:getAccessibleChat(the row every chat route is given), the matter chat list, the chat transcript, the review-chat message reader, and the three downloads (account, conversations, table reviews).docs/UPSTREAM_COMPATIBILITY_LEDGER.md: one row for the reads shared with upstream.GET /projects/:projectId/chatsreturns chats withoutorigin_grant_id;originandorigin_labelstay.docs/mcp-server.md: the sentence on the connection's id says exactly which reads and downloads omit it.Why
The id of a connection is for the person who owns it. Removing it with one helper, where the rows leave, keeps every conversation read, present and future, consistent with what
docs/mcp-server.mdsays.Testing
Focused backend suites (modules, exports, architecture, dependency cycles, integration routes); new route-level test over
/chat,/chat/:id,/people,/access,/projects/:id/chats;npm run build,typecheck:test.Coordinator's run on the final tree: 192 files / 2,739 tests (chat, projects, project-chat, tabular, mcp, exports, the route suites, architecture, dependency cycles),
npm run build0,typecheck:test0.Deploy notes
No migration. No change for the web client or the Word add-in: neither reads this field.