aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/typing.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/typing.h')
-rw-r--r--lib/csapi/typing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/csapi/typing.h b/lib/csapi/typing.h
index 7cf27ef6..f4fa36e8 100644
--- a/lib/csapi/typing.h
+++ b/lib/csapi/typing.h
@@ -6,6 +6,7 @@
#include "jobs/basejob.h"
+#include "converters.h"
namespace QMatrixClient
{
@@ -14,6 +15,6 @@ namespace QMatrixClient
class SetTypingJob : public BaseJob
{
public:
- explicit SetTypingJob(const QString& userId, const QString& roomId, bool typing, int timeout = {});
+ explicit SetTypingJob(const QString& userId, const QString& roomId, bool typing, Omittable<int> timeout = none);
};
} // namespace QMatrixClient