Skip to content

Include event_id when getting state with ?format=event #18675

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

tulir
Copy link
Contributor

@tulir tulir commented Jul 11, 2025

Fixes #15454

@tulir tulir requested a review from a team as a code owner July 11, 2025 11:31
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

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

Could you add some quick unit tests to confirm the shape of the response? Perhaps in tests/rest/client/test_rooms.py?

@tulir
Copy link
Contributor Author

tulir commented Jul 17, 2025

Complement failure looks like a flake, I think the tests I added are working

@tulir tulir requested a review from anoadragon453 July 17, 2025 10:14
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

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

Complement failure looks like a flake, I think the tests I added are working

Indeed, adding unit tests should cause Complement tests to fail. I've noted it at #18537.

LGTM, thank you!

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.

Include event_id when /state/:type[/:key]?format=event
2 participants