mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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, undefined).
|
||||
|
||||
-spec resend_presence(pid(), jid() | undefined) -> ok.
|
||||
-spec resend_presence(pid(), jid() | undefined) -> boolean().
|
||||
resend_presence(Pid, To) ->
|
||||
route(Pid, {resend_presence, To}).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user