Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(matrix/spec): filter_id is a string, not an integer #2017

Merged
merged 2 commits into from Apr 25, 2024

Conversation

RaitoBezarius
Copy link
Contributor

@RaitoBezarius RaitoBezarius commented Feb 2, 2024

Description

Source: https://spec.matrix.org/v1.9/client-server-api/#post_matrixclientv3useruseridfilter

This is explicitly a string in the specification.

This fixes compatibility with spec compliant servers like conduit.rs and not implementation-defined ones like Synapse.

Credit to @CobaltCause for accompanying me on this journey.

Status

READY

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • I am running Opsdroid on a conduit.rs server.

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jacobtomlinson jacobtomlinson enabled auto-merge (squash) April 25, 2024 10:31
@jacobtomlinson jacobtomlinson merged commit 5ee8374 into opsdroid:master Apr 25, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants