diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-04-16 23:18:03 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-04-16 23:18:03 +0200 |
commit | de7dc4affa6c6996bed838b5d4b0b53511962ef0 (patch) | |
tree | fdf6face73b13b9af6eaa9fc1153332dc48680d6 /src/elixir_logger_backend.erl | |
parent | mod_http_upload*: Remove empty lines after specs (diff) |
mod_push: Optionally include message sender/body
Add 'include_sender' and 'include_body' options. If one or both of them
are set to 'true', a urn:xmpp:push:summary form with the enabled
field(s) is included in push notifications that are generated for
messages with a body.
The 'include_body' option can instead be set to a static text. In this
case, the specified text will be included in place of the actual message
body. This can be useful to signal the push service whether the
notification was triggered by a message with body (as opposed to other
types of traffic) without leaking actual message contents.
Diffstat (limited to 'src/elixir_logger_backend.erl')
0 files changed, 0 insertions, 0 deletions