diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl index 06d4cf12d..e7ce7b910 100644 --- a/src/ejabberd_c2s.erl +++ b/src/ejabberd_c2s.erl @@ -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}).