mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
mod_stream_mgmt: Add missing function specs
This commit is contained in:
parent
a7841ed486
commit
985b0a1933
@ -441,6 +441,7 @@ update_num_stanzas_in(#{mgmt_state := MgmtState,
|
||||
update_num_stanzas_in(State, _El) ->
|
||||
State.
|
||||
|
||||
-spec send_rack(state()) -> state().
|
||||
send_rack(#{mgmt_ack_timer := _} = State) ->
|
||||
State;
|
||||
send_rack(#{mgmt_xmlns := Xmlns,
|
||||
@ -450,6 +451,7 @@ send_rack(#{mgmt_xmlns := Xmlns,
|
||||
State1 = State#{mgmt_ack_timer => TRef, mgmt_stanzas_req => NumStanzasOut},
|
||||
send(State1, #sm_r{xmlns = Xmlns}).
|
||||
|
||||
-spec resend_rack(state()) -> state().
|
||||
resend_rack(#{mgmt_ack_timer := _,
|
||||
mgmt_queue := Queue,
|
||||
mgmt_stanzas_out := NumStanzasOut,
|
||||
|
Loading…
Reference in New Issue
Block a user