25
1
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:
Evgeniy Khramtsov 2018-02-07 22:20:12 +03:00
parent c2911222e4
commit 5c85106a41

View File

@ -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}).