aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/kicking.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-10 16:35:00 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-10 16:35:00 +0900
commit13d1943710025d6a9dd6011b67c083ac9b00aa75 (patch)
tree432244caf7205a49c6bc97e1b2305d8aba0f3d6d /jobs/generated/kicking.h
parent7726249de84b829bf066638ab96c2785f3a32427 (diff)
downloadlibquotient-13d1943710025d6a9dd6011b67c083ac9b00aa75.tar.gz
libquotient-13d1943710025d6a9dd6011b67c083ac9b00aa75.zip
Jobs with non-trivial results are generated properly
This addresses the last bullet in KitsuneRal/gtad#10, completing the implementation.
Diffstat (limited to 'jobs/generated/kicking.h')
-rw-r--r--jobs/generated/kicking.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/jobs/generated/kicking.h b/jobs/generated/kicking.h
index 6ef19fcd..658193d5 100644
--- a/jobs/generated/kicking.h
+++ b/jobs/generated/kicking.h
@@ -14,12 +14,12 @@ namespace QMatrixClient
{
// Operations
-
+
class KickJob : public BaseJob
{
public:
- KickJob(QString roomId, QString user_id, QString reason);
-
+ explicit KickJob(QString roomId, QString user_id, QString reason = {});
+
};
} // namespace QMatrixClient