Skip to content

xchat: skip edits that were already bridged - #190

Merged
highesttt merged 1 commit into
mainfrom
iFixRobots/xchat-edit-replay
Oct 29, 2026
Merged

highesttt merged 1 commit into
mainfrom
iFixRobots/xchat-edit-replay

Conversation

@iFixRobots

Copy link
Copy Markdown
Contributor

XChat edits don't have an edit count, so every reconnect catch-up re-applied the edits in each chat's latest events, re-fetching the original message each time. When that fetch hits a 429, the bridge posts an "An error occurred while processing an incoming edit" notice into old chats on every reconnect. This stores the last handled edit sequence ID in the message metadata and ignores edits at or below it.

View in Indent
Tag @indent to continue the conversation here.

@indent

indent Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Issues

No issues found.

CI Checks

All required CI checks passed on 68cddf2.

Review agents

Select any unchecked box below to run or rerun that agent.

Passed (1)
  • Indent Review Agent · No issues found in the XChat edit dedupe.
Full results

Indent Review Agent

  • Summary: No issues found in the XChat edit dedupe.
  • Last ran on commit: 68cddf2e
  • Latest result
    {
      "summary": "No issues found in the XChat edit dedupe.",
      "findings": []
    }

@iFixRobots
iFixRobots requested a review from highesttt October 29, 2026 16:47
@highesttt
highesttt merged commit fc1baea into main Oct 29, 2026
12 checks passed
@highesttt
highesttt deleted the iFixRobots/xchat-edit-replay branch October 29, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants