mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
XEP-0198: Don't add <delay/> tags to IQ stanzas
This commit is contained in:
parent
0dbedb69a6
commit
1048e21643
@ -3017,6 +3017,8 @@ make_resume_id(StateData) ->
|
||||
{Time, _} = StateData#state.sid,
|
||||
jlib:term_to_base64({StateData#state.resource, Time}).
|
||||
|
||||
add_resent_delay_info(_State, #xmlel{name = <<"iq">>} = El, _Time) ->
|
||||
El;
|
||||
add_resent_delay_info(#state{server = From}, El, Time) ->
|
||||
jlib:add_delay_info(El, From, Time, <<"Resent">>).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user