diff options
Diffstat (limited to 'lib/csapi/report_content.h')
-rw-r--r-- | lib/csapi/report_content.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/csapi/report_content.h b/lib/csapi/report_content.h index 375e1829..8c533c19 100644 --- a/lib/csapi/report_content.h +++ b/lib/csapi/report_content.h @@ -13,7 +13,7 @@ namespace Quotient { * Reports an event as inappropriate to the server, which may then notify * the appropriate people. */ -class ReportContentJob : public BaseJob { +class QUOTIENT_API ReportContentJob : public BaseJob { public: /*! \brief Reports an event as inappropriate. * @@ -31,7 +31,8 @@ public: * The reason the content is being reported. May be blank. */ explicit ReportContentJob(const QString& roomId, const QString& eventId, - int score, const QString& reason); + Omittable<int> score = none, + const QString& reason = {}); }; } // namespace Quotient |