diff options
Diffstat (limited to 'lib/csapi/list_public_rooms.h')
-rw-r--r-- | lib/csapi/list_public_rooms.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/csapi/list_public_rooms.h b/lib/csapi/list_public_rooms.h index fc30ad32..ae589378 100644 --- a/lib/csapi/list_public_rooms.h +++ b/lib/csapi/list_public_rooms.h @@ -6,6 +6,7 @@ #include "jobs/basejob.h" +#include "converters.h" #include <QtCore/QVector> #include <QtCore/QStringList> @@ -99,6 +100,8 @@ namespace QMatrixClient struct Filter { QString genericSearchTerm; + + bool omitted; }; struct PublicRoomsChunk @@ -116,7 +119,7 @@ namespace QMatrixClient // Construction/destruction - explicit QueryPublicRoomsJob(const QString& server = {}, int limit = {}, const QString& since = {}, const Filter& filter = {}); + explicit QueryPublicRoomsJob(const QString& server = {}, int limit = {}, const QString& since = {}, const Filter& filter = omitted<Filter>()); ~QueryPublicRoomsJob() override; // Result properties |