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

Make 'messages' a required JSON body field in /sendToDevice #2928

Merged
merged 2 commits into from
Dec 29, 2020

Conversation

anoadragon453
Copy link
Member

Fixes #2927

Copy link
Member

@uhoreg uhoreg left a comment

Choose a reason for hiding this comment

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

Changelog plz.

Other than that, it looks good. Given that the request doesn't make sense without the messages field, it seems clear that this is a documentation bug.

@@ -0,0 +1 @@
Mark `messages` as a required JSON body field in `PUT /_matrix/client/r0/sendToDevice/{eventType}/{txnId}` calls.
Copy link
Member

Choose a reason for hiding this comment

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

Fun fact: our new system is markdown but our existing system is RST. 🙈

It's probably fine to keep this as markdown for now - makes the merge easier.

@turt2live turt2live merged commit 7aded5b into master Dec 29, 2020
@anoadragon453 anoadragon453 deleted the anoa/require_messages_in_sendtodevice branch December 29, 2020 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants