Define module titles from the template
This commit is contained in:
parent
319ba8f404
commit
a7400508c6
1 changed files with 13 additions and 6 deletions
|
@ -3,9 +3,6 @@ Push Notifications
|
||||||
|
|
||||||
.. _module:push:
|
.. _module:push:
|
||||||
|
|
||||||
Overview
|
|
||||||
--------
|
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
+--------------------+ +-------------------+
|
+--------------------+ +-------------------+
|
||||||
|
@ -54,8 +51,7 @@ APNS or Google's GCM. This happens as follows:
|
||||||
notifications.
|
notifications.
|
||||||
5. The Push Notification provider sends the notification to the device.
|
5. The Push Notification provider sends the notification to the device.
|
||||||
|
|
||||||
Nomenclature
|
Definitions for terms used in this section are below:
|
||||||
~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Pusher
|
Pusher
|
||||||
A 'pusher' is an activity in the Home Server that manages the sending
|
A 'pusher' is an activity in the Home Server that manages the sending
|
||||||
|
@ -222,7 +218,7 @@ gateway). However, Matrix strongly recommends:
|
||||||
gateway before returning and instead to store failures and return
|
gateway before returning and instead to store failures and return
|
||||||
'rejected' responses next time that pushkey is used.
|
'rejected' responses next time that pushkey is used.
|
||||||
|
|
||||||
Pushers HTTP API
|
Client behaviour
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
To receive any notification pokes at all, it is necessary to configure a
|
To receive any notification pokes at all, it is necessary to configure a
|
||||||
|
@ -641,4 +637,15 @@ beneath the rule's URI with a content of 'true' or 'false'::
|
||||||
|
|
||||||
curl -X PUT -H "Content-Type: application/json" -d 'false' "http://localhost:8008/_matrix/client/api/v1/pushrules/global/sender/%40spambot%3Amatrix.org/enabled?access_token=123456"
|
curl -X PUT -H "Content-Type: application/json" -d 'false' "http://localhost:8008/_matrix/client/api/v1/pushrules/global/sender/%40spambot%3Amatrix.org/enabled?access_token=123456"
|
||||||
|
|
||||||
|
Server behaviour
|
||||||
|
----------------
|
||||||
|
|
||||||
|
- HS to sygnal?
|
||||||
|
|
||||||
|
Security considerations
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
- Message content shouldn't be sent in the push itself as it will pass through
|
||||||
|
the Push Provider (Google/Apple). Instead, send a ping to tell the client to
|
||||||
|
sync.
|
||||||
|
- HTTPS should be used on the Matrix HTTP Notification Protocol.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue