]> granicus.if.org Git - ejabberd/commitdiff
Fix type spec
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Wed, 7 Feb 2018 19:20:12 +0000 (22:20 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Wed, 7 Feb 2018 19:20:12 +0000 (22:20 +0300)
src/ejabberd_c2s.erl

index 06d4cf12df6452646fa271a01945ef0783ba5d91..e7ce7b910d38a88eb85ae08bbeab3d8691dd47da 100644 (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}).