Skip to content

fix: Add graceful fail if MSC4140 event delay exceeded#276

Open
jasonlaguidice wants to merge 2 commits intoSableClient:devfrom
jasonlaguidice:msc4140-error-handling
Open

fix: Add graceful fail if MSC4140 event delay exceeded#276
jasonlaguidice wants to merge 2 commits intoSableClient:devfrom
jasonlaguidice:msc4140-error-handling

Conversation

@jasonlaguidice
Copy link
Contributor

Description

No one has complained about this yet but this adds graceful failure if the server's max event delay for MSC4140 delayed messages is exceeded.

There, sadly, is no method for the server to advertise it's current max allowable event delay without just trying a time that's too long.

Fixes N/A

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@jasonlaguidice jasonlaguidice requested a review from a team March 15, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants