Don't log warning on successful ping reply

This commit is contained in:
Evgeniy Khramtsov 2017-04-04 17:14:24 +03:00
parent 3a0b4ad8da
commit f5b0cd1793
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ handle_cast({iq_pong, JID, timeout}, State) ->
_ -> ok
end,
{noreply, State#state{timers = Timers}};
handle_cast({iq_pong, _JID, _}, State) ->
{noreply, State};
handle_cast(Msg, State) ->
?WARNING_MSG("unexpected cast: ~p", [Msg]),
{noreply, State}.