aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/report_content.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-09 08:52:25 +0200
committerGitHub <noreply@github.com>2020-06-09 08:52:25 +0200
commit370d9b3e46332d38df8798cda208c534c58be808 (patch)
treef3db0cd7463468ff52c74446acd608356f8b8ab6 /lib/csapi/report_content.h
parente1f5d0aa2c33e6da6c3a609c8bc7e0b5867e748d (diff)
parent10d9ac4673e374a9ac17ff492591136520337c4c (diff)
downloadlibquotient-370d9b3e46332d38df8798cda208c534c58be808.tar.gz
libquotient-370d9b3e46332d38df8798cda208c534c58be808.zip
Merge pull request #405 from quotient-im/kitsune-basejob-store-json-response
Store JSON response in BaseJob + tweaks to the generated code
Diffstat (limited to 'lib/csapi/report_content.h')
-rw-r--r--lib/csapi/report_content.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/csapi/report_content.h b/lib/csapi/report_content.h
index 0f3cc3d5..13dc9138 100644
--- a/lib/csapi/report_content.h
+++ b/lib/csapi/report_content.h
@@ -4,14 +4,10 @@
#pragma once
-#include "converters.h"
-
#include "jobs/basejob.h"
namespace Quotient {
-// Operations
-
/*! \brief Reports an event as inappropriate.
*
* Reports an event as inappropriate to the server, which may then notify
@@ -21,13 +17,17 @@ class ReportContentJob : public BaseJob {
public:
/*! \brief Reports an event as inappropriate.
*
+ *
* \param roomId
* The room in which the event being reported is located.
+ *
* \param eventId
* The event to report.
+ *
* \param score
* The score to rate this content as where -100 is most offensive
* and 0 is inoffensive.
+ *
* \param reason
* The reason the content is being reported. May be blank.
*/