Update event creation endpoints to r0.6.1

This commit is contained in:
Isaiah Inuwa 2020-06-14 20:35:44 -05:00
parent 43ae129ce2
commit 9074e4c17a
3 changed files with 3 additions and 9 deletions

View File

@ -1,4 +1,4 @@
//! [PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}](https://matrix.org/docs/spec/client_server/r0.6.0#put-matrix-client-r0-rooms-roomid-send-eventtype-txnid)
//! [PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}](https://matrix.org/docs/spec/client_server/r0.6.1#put-matrix-client-r0-rooms-roomid-send-eventtype-txnid)
use ruma_api::ruma_api;
use ruma_events::EventType;
@ -41,8 +41,6 @@ ruma_api! {
response {
/// A unique identifier for the event.
// This is not declared required in r0.6.0, but that was a bug that has now been fixed:
// https://github.com/matrix-org/matrix-doc/pull/2525
pub event_id: EventId,
}

View File

@ -1,4 +1,4 @@
//! [PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}](https://matrix.org/docs/spec/client_server/r0.6.0#put-matrix-client-r0-rooms-roomid-state-eventtype)
//! [PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}](https://matrix.org/docs/spec/client_server/r0.6.1#put-matrix-client-r0-rooms-roomid-state-eventtype)
use ruma_api::ruma_api;
use ruma_events::EventType;
@ -33,8 +33,6 @@ ruma_api! {
response {
/// A unique identifier for the event.
// This is not declared required in r0.6.0, but that was a bug that has now been fixed:
// https://github.com/matrix-org/matrix-doc/pull/2525
pub event_id: EventId,
}

View File

@ -1,4 +1,4 @@
//! [PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}](https://matrix.org/docs/spec/client_server/r0.6.0#put-matrix-client-r0-rooms-roomid-state-eventtype-statekey)
//! [PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}](https://matrix.org/docs/spec/client_server/r0.6.1#put-matrix-client-r0-rooms-roomid-state-eventtype-statekey)
use ruma_api::ruma_api;
use ruma_events::EventType;
@ -37,8 +37,6 @@ ruma_api! {
response {
/// A unique identifier for the event.
// This is not declared required in r0.6.0, but that was a bug that has now been fixed:
// https://github.com/matrix-org/matrix-doc/pull/2525
pub event_id: EventId,
}