mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
mod_push: Also include sender/body for carbons
If the 'include_sender' and/or 'include_body' options are specified, also include a urn:xmpp:push:summary form in push notifications that are generated for carbon-copied messages (with a body).
This commit is contained in:
parent
4f293751f0
commit
0a9f522222
@ -346,7 +346,7 @@ c2s_stanza(State, #stream_error{}, _SendResult) ->
|
||||
c2s_stanza(#{push_enabled := true, mgmt_state := pending} = State,
|
||||
Pkt, _SendResult) ->
|
||||
?DEBUG("Notifying client of stanza", []),
|
||||
notify(State, Pkt),
|
||||
notify(State, xmpp_util:unwrap_carbon(Pkt)),
|
||||
State;
|
||||
c2s_stanza(State, _Pkt, _SendResult) ->
|
||||
State.
|
||||
|
Loading…
Reference in New Issue
Block a user