Comparison

mod_push2/push2.md @ 6190:aa240145aa22

mod_push2: support for disabling push notifications For example when logging out
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Wed, 05 Feb 2025 11:04:15 -0500
parent 6003:fe081789f7b5
comparison
equal deleted inserted replaced
6189:72b7e0ca71ab 6190:aa240145aa22
127 <feature var='urn:xmpp:push2:send:'/> 127 <feature var='urn:xmpp:push2:send:'/>
128 </query> 128 </query>
129 </iq> 129 </iq>
130 ``` 130 ```
131 131
132 ## Client disables future pushes
133
134 ```xml
135 <disable xmlns='urn:xmpp:push2:0' />
136 ```
137
132 ## Push service interactions 138 ## Push service interactions
133 139
134 ### Transient delivery errors 140 ### Transient delivery errors
135 141
136 The user's server might receive delivery errors while sending notifications to the user's push service. The error 'type' attribute SHOULD be honoured - errors of type 'wait' SHOULD be retried in an appropriate manner (e.g. using exponential back-off algorithm, up to a limit), discarding the notification after an appropriate length of time or number of attempts. 142 The user's server might receive delivery errors while sending notifications to the user's push service. The error 'type' attribute SHOULD be honoured - errors of type 'wait' SHOULD be retried in an appropriate manner (e.g. using exponential back-off algorithm, up to a limit), discarding the notification after an appropriate length of time or number of attempts.