aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/pusher.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-09 22:58:21 +0200
committerGitHub <noreply@github.com>2021-08-09 22:58:21 +0200
commit5d9443fccf2d336f16d6beacb5e1775c79123c02 (patch)
treefe5ba377808dfa7c3564dbe013e9894035c303f4 /lib/csapi/pusher.h
parentbf6303c41264d913ca049009034aa948464b8f30 (diff)
parente5a760371a158bec6a70353b96614611adecc4bc (diff)
downloadlibquotient-5d9443fccf2d336f16d6beacb5e1775c79123c02.tar.gz
libquotient-5d9443fccf2d336f16d6beacb5e1775c79123c02.zip
Merge pull request #492 from quotient-im/kitsune-qurl-in-csapi
Use QUrl in CS API backend
Diffstat (limited to 'lib/csapi/pusher.h')
-rw-r--r--lib/csapi/pusher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/pusher.h b/lib/csapi/pusher.h
index 13c9ec25..622b0df6 100644
--- a/lib/csapi/pusher.h
+++ b/lib/csapi/pusher.h
@@ -21,7 +21,7 @@ public:
struct PusherData {
/// Required if `kind` is `http`. The URL to use to send
/// notifications to.
- QString url;
+ QUrl url;
/// The format to use when sending notifications to the Push
/// Gateway.
QString format;
@@ -119,7 +119,7 @@ public:
/// Required if `kind` is `http`. The URL to use to send
/// notifications to. MUST be an HTTPS URL with a path of
/// `/_matrix/push/v1/notify`.
- QString url;
+ QUrl url;
/// The format to send notifications in to Push Gateways if the
/// `kind` is `http`. The details about what fields the
/// homeserver should send to the push gateway are defined in the