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

Add missing type enum for m.reaction #1552

Merged
merged 4 commits into from
Jul 4, 2023
Merged

Conversation

chebureki
Copy link
Contributor

@chebureki chebureki commented May 31, 2023

The specification does not specify the m.reaction for the event type

Preview: https://pr1552--matrix-spec-previews.netlify.app

@chebureki chebureki requested a review from a team as a code owner May 31, 2023 14:36
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

Thanks! Please could you include a newsfragment file, per https://github.com/matrix-org/matrix-spec/blob/main/CONTRIBUTING.rst#adding-to-the-changelog?

Please try to phrase it in terms of the change to the rendered spec.

@chebureki
Copy link
Contributor Author

Thanks! Please could you include a newsfragment file, per https://github.com/matrix-org/matrix-spec/blob/main/CONTRIBUTING.rst#adding-to-the-changelog?

Please try to phrase it in terms of the change to the rendered spec.

just did :)

@richvdh richvdh changed the title Added missing type enum for m.reaction Add missing type enum for m.reaction Jun 2, 2023
@richvdh
Copy link
Member

richvdh commented Jun 20, 2023

@chebureki are you still interested in working on this?

@chebureki
Copy link
Contributor Author

@chebureki are you still interested in working on this?

I apologize, got busy with life.
We could rephrase it as. If you have a better idea, feel free to change it :)

Fixed missing type field for reaction event

@richvdh
Copy link
Member

richvdh commented Jun 23, 2023

Wait, does this actually change the content of the spec at all?

https://pr1552--matrix-spec-previews.netlify.app/client-server-api/#mreaction looks identical to https://spec.matrix.org/v1.7/client-server-api/#mreaction

@chebureki
Copy link
Contributor Author

Wait, does this actually change the content of the spec at all?

https://pr1552--matrix-spec-previews.netlify.app/client-server-api/#mreaction looks identical to https://spec.matrix.org/v1.7/client-server-api/#mreaction

It doesn't change the the appearance of the spec :) !
For a project of mine, I do code generation.
If you don't specify this value, it will simply have the string type.
If you specify this value, it will know to use this specific value

@turt2live turt2live requested a review from richvdh July 4, 2023 03:19
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

Thanks; sorry it took me a while to grok what was going on here.

@richvdh richvdh enabled auto-merge (squash) July 4, 2023 12:52
@richvdh richvdh merged commit 414cc1e into matrix-org:main Jul 4, 2023
@zecakeh zecakeh mentioned this pull request Aug 21, 2023
28 tasks
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