aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/pushrules.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-07-24 08:29:35 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-07-24 08:29:35 +0200
commitd1c5e514fb65bbea182b34a893bca12b321e3bac (patch)
tree06c8ef77eb4203c49804650eeca76e0b1d3a54d5 /lib/csapi/pushrules.cpp
parente9237a46bbdf6cbfee23c4f1acc06d90251566b0 (diff)
downloadlibquotient-d1c5e514fb65bbea182b34a893bca12b321e3bac.tar.gz
libquotient-d1c5e514fb65bbea182b34a893bca12b321e3bac.zip
csapi/: refresh from the latest matrix-doc
Diffstat (limited to 'lib/csapi/pushrules.cpp')
-rw-r--r--lib/csapi/pushrules.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/csapi/pushrules.cpp b/lib/csapi/pushrules.cpp
index f2a16f1b..86165744 100644
--- a/lib/csapi/pushrules.cpp
+++ b/lib/csapi/pushrules.cpp
@@ -64,7 +64,8 @@ auto queryToSetPushRule(const QString& before, const QString& after)
}
SetPushRuleJob::SetPushRuleJob(const QString& scope, const QString& kind,
- const QString& ruleId, const QStringList& actions,
+ const QString& ruleId,
+ const QVector<QVariant>& actions,
const QString& before, const QString& after,
const QVector<PushCondition>& conditions,
const QString& pattern)
@@ -135,7 +136,7 @@ GetPushRuleActionsJob::GetPushRuleActionsJob(const QString& scope,
SetPushRuleActionsJob::SetPushRuleActionsJob(const QString& scope,
const QString& kind,
const QString& ruleId,
- const QStringList& actions)
+ const QVector<QVariant>& actions)
: BaseJob(HttpVerb::Put, QStringLiteral("SetPushRuleActionsJob"),
QStringLiteral("/_matrix/client/r0") % "/pushrules/" % scope % "/"
% kind % "/" % ruleId % "/actions")