RocketChat / RocketChat/Rocket.Chat
deduplicate by txnId to handle bridge retries
Open
Beginner friendly
Nobody has claimed this yet.
todo
type: bug
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
📝 Found in ee/packages/federation-matrix/src/api/_matrix/client/rooms-messaging.ts#L197
Commit: 74f50d15689547ae7275a35af7aaac72c2cfd079
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in ee/packages/federation-matrix/src/api/_matrix/client/rooms-messaging.ts around line 197, where bridge messages are handled. Trace the transaction ID through the retry path and confirm how duplicate messages are currently accepted. Done means retries with the same txnId are deduplicated while distinct transactions are still processed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100