RocketChat / RocketChat/Rocket.Chat

deduplicate by txnId to handle bridge retries

Open Beginner friendly
#41,450 5 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.