Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mtxclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
mtxclient
Merge requests
!3
Add gitlab ci
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add gitlab ci
gitlab-ci2
into
master
Overview
0
Commits
8
Pipelines
45
Changes
3
Merged
Nicolas Werner
requested to merge
gitlab-ci2
into
master
4 years ago
Overview
0
Commits
8
Pipelines
45
Changes
3
Expand
second try
Edited
4 years ago
by
Nicolas Werner
0
0
Merge request reports
Viewing commit
9e1103f6
Show latest version
3 files
+
13
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
Verified
9e1103f6
Make lint
· 9e1103f6
Nicolas Werner
authored
4 years ago
include/mtx/requests.hpp
+
6
−
3
Options
@@ -255,7 +255,8 @@ struct KeySignaturesUpload
void
to_json
(
json
&
obj
,
const
KeySignaturesUpload
&
req
);
struct
PusherData
{
struct
PusherData
{
//! 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.
std
::
string
url
;
@@ -270,7 +271,8 @@ void
to_json
(
json
&
obj
,
const
PusherData
&
data
);
//! Request payload for the `POST /_matrix/client/r0/pushers/set` endpoint.
struct
SetPusher
{
struct
SetPusher
{
//! Required. Unique identifier for this pusher.
std
::
string
pushkey
;
//! Required. The kind of pusher to configure. "http" makes a pusher that sends HTTP pokes.
@@ -280,7 +282,8 @@ struct SetPusher {
//! Required. This is a reverse-DNS style identifier for the application.
//! If the `kind` is "email", this is "m.email".
std
::
string
app_id
;
//! Required. A string that will allow the user to identify what application owns this pusher.
//! Required. A string that will allow the user to identify what application owns this
//! pusher.
std
::
string
app_display_name
;
//! Required. A string that will allow the user to identify what device owns this pusher.
std
::
string
device_display_name
;
Loading