diff --git a/include/mtx/events.hpp b/include/mtx/events.hpp index 417ba071bdcb8532de0a11738685e1bf07141014..271121b8c32328e574786d2ad023fb2d928f6e8a 100644 --- a/include/mtx/events.hpp +++ b/include/mtx/events.hpp @@ -56,6 +56,7 @@ template<class Content> void to_json(json &obj, const DeviceEvent<Content> &event); +//! Additional server provided data for this event. struct UnsignedData { //! The time in milliseconds that has elapsed since the event was sent. @@ -67,7 +68,9 @@ struct UnsignedData //! The client-supplied transaction ID, if the client //! being given the event is the same one which sent it. std::string transaction_id; + //! The previous sender of a state event. std::string prev_sender; + //! The replaced state event. std::string replaces_state; //! The event ID that redacted this event. std::string redacted_by;