From 5c85106a41cffd52f68471597a1eb597e38bfdcd Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Wed, 7 Feb 2018 22:20:12 +0300 Subject: [PATCH] Fix type spec --- src/ejabberd_c2s.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}).