From 377207c1c1416b9afc7a370e5f0215be729540d4 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Fri, 30 Apr 2021 14:03:28 +0200
Subject: [PATCH] Fix missing UnsignedData from docs

---
 include/mtx/events.hpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/mtx/events.hpp b/include/mtx/events.hpp
index 417ba071b..271121b8c 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;
-- 
GitLab