diff options
Diffstat (limited to 'jobs/generated/banning.h')
-rw-r--r-- | jobs/generated/banning.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/jobs/generated/banning.h b/jobs/generated/banning.h index e225a6ef..6db096ee 100644 --- a/jobs/generated/banning.h +++ b/jobs/generated/banning.h @@ -12,20 +12,17 @@ namespace QMatrixClient { - // Operations class BanJob : public BaseJob { public: - explicit BanJob(QString roomId, QString userId, QString reason = {}); - + explicit BanJob(const QString& roomId, const QString& userId, const QString& reason = {}); }; + class UnbanJob : public BaseJob { public: - explicit UnbanJob(QString roomId, QString userId); - + explicit UnbanJob(const QString& roomId, const QString& userId); }; - } // namespace QMatrixClient |