mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix type spec
This commit is contained in:
parent
c2911222e4
commit
5c85106a41
@ -109,7 +109,7 @@ set_presence(Ref, Pres) ->
|
|||||||
resend_presence(Pid) ->
|
resend_presence(Pid) ->
|
||||||
resend_presence(Pid, undefined).
|
resend_presence(Pid, undefined).
|
||||||
|
|
||||||
-spec resend_presence(pid(), jid() | undefined) -> ok.
|
-spec resend_presence(pid(), jid() | undefined) -> boolean().
|
||||||
resend_presence(Pid, To) ->
|
resend_presence(Pid, To) ->
|
||||||
route(Pid, {resend_presence, To}).
|
route(Pid, {resend_presence, To}).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user