aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-04 19:09:57 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-04 20:24:39 +0900
commite49a842e877d17a1c6cbbb2349c2816639447721 (patch)
treef0985d0a43d448bb3b05ddc0f0054f5fe4a4b7be /lib/connection.h
parenta83eb9350def2b1537affe4390ea54d37ffbc777 (diff)
downloadlibquotient-e49a842e877d17a1c6cbbb2349c2816639447721.tar.gz
libquotient-e49a842e877d17a1c6cbbb2349c2816639447721.zip
Connection, jobs/generated: Use QStringList instead of QVector<QString>
QStringList's API is richer, after all.
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 22f71eac..3364739b 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -272,8 +272,8 @@ namespace QMatrixClient
*/
CreateRoomJob* createRoom(RoomVisibility visibility,
const QString& alias, const QString& name, const QString& topic,
- const QVector<QString>& invites, const QString& presetName = {}, bool isDirect = false,
- bool guestsCanJoin = false,
+ const QStringList& invites, const QString& presetName = {},
+ bool isDirect = false, bool guestsCanJoin = false,
const QVector<CreateRoomJob::StateEvent>& initialState = {},
const QVector<CreateRoomJob::Invite3pid>& invite3pids = {},
const QJsonObject& creationContent = {});